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>
(cherry picked from commit f6306198d0)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41269>
This commit is contained in:
parent
9f5e19e05a
commit
9bdca3b7a1
2 changed files with 3 additions and 2 deletions
|
|
@ -4004,7 +4004,7 @@
|
|||
"description": "anv: avoid C23",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2745,7 +2745,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 ?
|
||||
|
|
@ -2762,6 +2762,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: {
|
||||
struct anv_descriptor_set *set =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue