nir/spirv: improve parsing of the memory model
v2: add some vtn_fail_ifs Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
@@ -243,6 +243,15 @@ typedef struct shader_info {
|
||||
* Size of shared variables accessed by the compute shader.
|
||||
*/
|
||||
unsigned shared_size;
|
||||
|
||||
|
||||
/**
|
||||
* pointer size is:
|
||||
* AddressingModelLogical: 0 (default)
|
||||
* AddressingModelPhysical32: 32
|
||||
* AddressingModelPhysical64: 64
|
||||
*/
|
||||
unsigned ptr_size;
|
||||
} cs;
|
||||
|
||||
/* Applies to both TCS and TES. */
|
||||
|
Reference in New Issue
Block a user