mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 16:30:10 +01:00
radv: set state.vbo_misaligned_mask_invalid in radv_bind_vs_input_state
Found by inspection. Something probably hangs because of this, but I don't know what. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Fixes:c199a5160a("radv: bind the VS input state for prologs created with GPL") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20913> (cherry picked from commit10a5035c83)
This commit is contained in:
parent
883b3ae0ca
commit
bd964b4fc3
2 changed files with 7 additions and 1 deletions
|
|
@ -193,7 +193,7 @@
|
|||
"description": "radv: set state.vbo_misaligned_mask_invalid in radv_bind_vs_input_state",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "c199a5160a08b118df6ba6d3bb211f5e2debcf83"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6125,6 +6125,12 @@ radv_bind_vs_input_state(struct radv_cmd_buffer *cmd_buffer,
|
|||
|
||||
cmd_buffer->state.dynamic_vs_input = *src;
|
||||
|
||||
if (cmd_buffer->device->physical_device->rad_info.gfx_level == GFX6 ||
|
||||
cmd_buffer->device->physical_device->rad_info.gfx_level >= GFX10) {
|
||||
cmd_buffer->state.vbo_misaligned_mask = 0;
|
||||
cmd_buffer->state.vbo_misaligned_mask_invalid = src->attribute_mask;
|
||||
}
|
||||
|
||||
cmd_buffer->state.dirty |= RADV_CMD_DIRTY_DYNAMIC_VERTEX_INPUT;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue