-
-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing resource category for textures in d3d12 issue #1225 #1226
Conversation
Removed render_attachment = true from texture description in examples. Added power preference to adapter selection. Report adapter description. Report adapter type.
Fixing win32 so it passes zig build test.
examples/sprite/main.zig
Outdated
@@ -16,5 +16,5 @@ pub fn main() !void { | |||
|
|||
var app = try mach.App.init(allocator, .app); | |||
defer app.deinit(allocator); | |||
try app.run(.{ .allocator = allocator }); | |||
try app.run(.{ .allocator = allocator, .power_preference = .high_performance }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be the default so this change doesn't make sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this slid in there by accident. I wanted to test with the discrete card on my computer.
The default power_preference is set to .undefined in the struct. To have an easy way to test at different settings it might be useful to include a build option, or have the examples support some standard command line arguments.
Changing resource category for textures in d3d12 #1225