From 5f8257fb0b022448eaee7c7d843fcf7309776d83 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Thu, 19 Jul 2018 13:04:14 +0200 Subject: nir/spirv: improve parsing of the memory model v2: add some vtn_fail_ifs Signed-off-by: Karol Herbst Reviewed-by: Jason Ekstrand --- src/compiler/shader_info.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/compiler/shader_info.h') diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h index 5b229130a11..ef195760acb 100644 --- a/src/compiler/shader_info.h +++ b/src/compiler/shader_info.h @@ -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. */ -- cgit v1.2.3