nir/lower_io: Add a 32 and 64-bit global address formats
These are simple scalar addresses. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
@@ -2946,6 +2946,16 @@ bool nir_lower_io(nir_shader *shader,
|
||||
nir_lower_io_options);
|
||||
|
||||
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.
|
||||
|
Reference in New Issue
Block a user