mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
spirv: don't store 0 to cs.ptr_size for non kernel stages.
cs is a union so storing this there is wrong. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
1496e1164f
commit
b62a925ad1
1 changed files with 0 additions and 1 deletions
|
|
@ -4071,7 +4071,6 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
|||
case SpvAddressingModelLogical:
|
||||
vtn_fail_if(b->shader->info.stage >= MESA_SHADER_STAGES,
|
||||
"AddressingModelLogical only supported for shaders");
|
||||
b->shader->info.cs.ptr_size = 0;
|
||||
b->physical_ptrs = false;
|
||||
break;
|
||||
case SpvAddressingModelPhysicalStorageBuffer64EXT:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue