mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
anv: avoid C23
For some reason the android builders started noticing... Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: mesa-stable Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41047>
This commit is contained in:
parent
13f5531692
commit
f6306198d0
1 changed files with 2 additions and 1 deletions
|
|
@ -2713,7 +2713,7 @@ emit_binding_table(struct anv_cmd_buffer *cmd_buffer,
|
|||
bt_map[s] = 0;
|
||||
break;
|
||||
|
||||
case ANV_DESCRIPTOR_SET_COLOR_ATTACHMENTS:
|
||||
case ANV_DESCRIPTOR_SET_COLOR_ATTACHMENTS: {
|
||||
/* Color attachment binding */
|
||||
assert(shader->vk.stage == MESA_SHADER_FRAGMENT);
|
||||
uint32_t index = binding->index < MAX_RTS ?
|
||||
|
|
@ -2730,6 +2730,7 @@ emit_binding_table(struct anv_cmd_buffer *cmd_buffer,
|
|||
assert(surface_state.map);
|
||||
bt_map[s] = surface_state.offset + state_offset;
|
||||
break;
|
||||
}
|
||||
|
||||
case ANV_DESCRIPTOR_SET_DESCRIPTORS:
|
||||
/* We have LSC_SS surface states for this, binding table isn't
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue