From: Jason Ekstrand Date: Mon, 11 Feb 2019 22:15:50 +0000 (-0600) Subject: intel/fs: Re-order logical surface arguments X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=494a0543e62be59be3a56ca21990eb9eff5ac668 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 --- 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 */