anv,iris: Move the SHADER_RELOC enums to brw_compiler.h
They're common between the two drivers and we want to add a couple more that get emitted from code in src/intel/compiler. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
This commit is contained in:

committed by
Marge Bot

parent
d95d5b1465
commit
f7668d6fe5
@@ -675,6 +675,11 @@ enum brw_param_builtin {
|
||||
#define BRW_PARAM_BUILTIN_CLIP_PLANE_COMP(param) \
|
||||
(((param) - BRW_PARAM_BUILTIN_CLIP_PLANE_0_X) & 0x3)
|
||||
|
||||
enum brw_shader_reloc_id {
|
||||
BRW_SHADER_RELOC_CONST_DATA_ADDR_LOW,
|
||||
BRW_SHADER_RELOC_CONST_DATA_ADDR_HIGH,
|
||||
};
|
||||
|
||||
/** Represents a code relocation
|
||||
*
|
||||
* Relocatable constants are immediates in the code which we want to be able
|
||||
|
Reference in New Issue
Block a user