summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-01-07 17:17:46 -0600
committerJason Ekstrand <[email protected]>2019-01-26 13:39:18 -0600
commit314d2c90c377eccdf532739f97bf131e1f9d1f99 (patch)
tree820df3cfb64b3c8db1917ad2dbb316b8e3fe4a75 /src/compiler/nir/nir.h
parente461926ef2793d5969604b75c72d365d46a58cd0 (diff)
nir/lower_io: Add a 32 and 64-bit global address formats
These are simple scalar addresses. Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index b805e290094..ff2c41faf27 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -2947,6 +2947,16 @@ bool nir_lower_io(nir_shader *shader,
typedef enum {
/**
+ * An address format which is a simple 32-bit global GPU address.
+ */
+ nir_address_format_32bit_global,
+
+ /**
+ * An address format which is a simple 64-bit global GPU address.
+ */
+ nir_address_format_64bit_global,
+
+ /**
* An address format which is comprised of a vec2 where the first
* component is a vulkan descriptor index and the second is an offset.
*/