diff options
author | Jason Ekstrand <[email protected]> | 2019-02-11 14:51:02 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-02-28 16:58:20 -0600 |
commit | 94f8fd9a0c750e3624bdff3fe7710089bdaa8e6e (patch) | |
tree | 89100f8b94cfcc50c4d2f559358c1e5bb1b6603d /src/intel/compiler/brw_eu_defines.h | |
parent | 838c0485e01f3d3403b430aa6df5b4a1f5262dc3 (diff) |
intel/fs: Add an enum type for logical sampler inst sources
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_eu_defines.h')
-rw-r--r-- | src/intel/compiler/brw_eu_defines.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_eu_defines.h b/src/intel/compiler/brw_eu_defines.h index c0fee90fe5f..37b85636c08 100644 --- a/src/intel/compiler/brw_eu_defines.h +++ b/src/intel/compiler/brw_eu_defines.h @@ -851,6 +851,21 @@ enum tex_logical_srcs { TEX_LOGICAL_NUM_SRCS, }; +enum surface_logical_srcs { + /** Surface address; could be multi-dimensional for typed opcodes */ + SURFACE_LOGICAL_SRC_ADDRESS, + /** Data to be written or used in an atomic op */ + SURFACE_LOGICAL_SRC_DATA, + /** Surface binding table index */ + SURFACE_LOGICAL_SRC_SURFACE, + /** Surface number of dimensions. Affects the size of ADDRESS */ + SURFACE_LOGICAL_SRC_IMM_DIMS, + /** Per-opcode immediate argument. For atomics, this is the atomic opcode */ + SURFACE_LOGICAL_SRC_IMM_ARG, + + SURFACE_LOGICAL_NUM_SRCS +}; + #ifdef __cplusplus /** * Allow brw_urb_write_flags enums to be ORed together. |