brw: reorder reloc enums to leave embedded samplers at the end
So that the driver can allocate an array of relocations using BRW_SHADER_RELOC_EMBEDDED_SAMPLER_HANDLE + number_of_embedded_samplers Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36757>
This commit is contained in:
committed by
Marge Bot
parent
69a04151db
commit
68838d7001
@@ -544,12 +544,13 @@ enum brw_shader_reloc_id {
|
||||
BRW_SHADER_RELOC_DESCRIPTORS_ADDR_HIGH,
|
||||
BRW_SHADER_RELOC_DESCRIPTORS_BUFFER_ADDR_HIGH,
|
||||
BRW_SHADER_RELOC_INSTRUCTION_BASE_ADDR_HIGH,
|
||||
BRW_SHADER_RELOC_EMBEDDED_SAMPLER_HANDLE,
|
||||
BRW_SHADER_RELOC_LAST_EMBEDDED_SAMPLER_HANDLE =
|
||||
BRW_SHADER_RELOC_EMBEDDED_SAMPLER_HANDLE + BRW_MAX_EMBEDDED_SAMPLERS - 1,
|
||||
BRW_SHADER_RELOC_PRINTF_BUFFER_ADDR_LOW,
|
||||
BRW_SHADER_RELOC_PRINTF_BUFFER_ADDR_HIGH,
|
||||
BRW_SHADER_RELOC_PRINTF_BUFFER_SIZE,
|
||||
/* Leave this entry last: */
|
||||
BRW_SHADER_RELOC_EMBEDDED_SAMPLER_HANDLE,
|
||||
BRW_SHADER_RELOC_LAST_EMBEDDED_SAMPLER_HANDLE =
|
||||
BRW_SHADER_RELOC_EMBEDDED_SAMPLER_HANDLE + BRW_MAX_EMBEDDED_SAMPLERS - 1,
|
||||
};
|
||||
|
||||
enum brw_shader_reloc_type {
|
||||
|
||||
Reference in New Issue
Block a user