-
Notifications
You must be signed in to change notification settings - Fork 916
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
Storage indexing, framebuffer tracking, and a bunch of validation fixes #77
Conversation
Note: there is a long tail of seemingly unrelated changes here. Mostly incremental improvements. |
wgpu-native/src/command/render.rs
Outdated
@@ -224,7 +222,7 @@ pub extern "C" fn wgpu_render_pass_set_pipeline( | |||
} | |||
|
|||
let pipeline_layout_guard = HUB.pipeline_layouts.read(); | |||
let pipeline_layout = pipeline_layout_guard.get(pipeline.layout_id); | |||
let pipeline_layout = &pipeline_layout_guard[pipeline.layout_id]; | |||
let bing_group_guard = HUB.bind_groups.read(); |
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.
nit: just noticed the typo bing
here :)
@@ -550,7 +550,9 @@ pub extern "C" fn wgpu_device_create_texture( | |||
|
|||
pub fn texture_create_view( |
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.
It doesn't seem correct long term to accept hal types in pub
functions, unless we can somehow guarantee wgpu-remote will be the only consumer
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.
Is this going to be a problem if those entry points are not in the headers?
Ok, all Vulkan validation errors are fixed now. |
Build succeeded |
77: Modify examples to use PowerPreference::Default r=kvark a=danaugrs Co-authored-by: Daniel Salvadori <danaugrs@gmail.com>
Closes #73
Closes #75
Closes #79