mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-29 20:38:14 +02:00
lavapipe: correctly update shader object per-stage push constant sizes
Fixes:8b3022c918("lavapipe: implement EXT_shader_object") Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23663> (cherry picked from commitb7f37265ac)
This commit is contained in:
parent
d7839ab2a7
commit
f7ac8d19c1
2 changed files with 2 additions and 2 deletions
|
|
@ -1417,7 +1417,7 @@
|
|||
"description": "lavapipe: correctly update shader object per-stage push constant sizes",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "8b3022c918086cd23b7f8a9e4dd61d1b074fef87"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4102,7 +4102,7 @@ handle_shaders(struct vk_cmd_queue_entry *cmd, struct rendering_state *state)
|
|||
}
|
||||
|
||||
if (stage != MESA_SHADER_COMPUTE) {
|
||||
state->gfx_push_sizes[i] = shader ? shader->layout->push_constant_size : 0;
|
||||
state->gfx_push_sizes[stage] = shader ? shader->layout->push_constant_size : 0;
|
||||
gfx = true;
|
||||
} else {
|
||||
state->push_size[1] = shader ? shader->layout->push_constant_size : 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue