From 494a0543e62be59be3a56ca21990eb9eff5ac668 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 11 Feb 2019 16:15:50 -0600 Subject: 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 --- src/intel/compiler/brw_eu_defines.h | 4 ++-- 1 file 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 */ -- cgit v1.2.3