summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-02-11 16:15:50 -0600
committerJason Ekstrand <[email protected]>2019-02-28 16:58:20 -0600
commit494a0543e62be59be3a56ca21990eb9eff5ac668 (patch)
treeaa6b190fec6de2636d235f4a36e0adbcd269c454
parent94f8fd9a0c750e3624bdff3fe7710089bdaa8e6e (diff)
intel/fs: Re-order logical surface arguments
It makes more sense to start at the surface then move on to the address and then the data. Also, this is a really good test of whether or not we got all the places that use the sources by explicit integer number. Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
-rw-r--r--src/intel/compiler/brw_eu_defines.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_eu_defines.h b/src/intel/compiler/brw_eu_defines.h
index 37b85636c08..aefc43bc7d6 100644
--- a/src/intel/compiler/brw_eu_defines.h
+++ b/src/intel/compiler/brw_eu_defines.h
@@ -852,12 +852,12 @@ enum tex_logical_srcs {
};
enum surface_logical_srcs {
+ /** Surface binding table index */
+ SURFACE_LOGICAL_SRC_SURFACE,
/** 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 */