intel/fs: Assert that old pull-const code is not used if devinfo->has_lsc
Jason changed this to use LSC in:
f5876dfdb9
("intel/fs: Lower uniform pull constant load message to LSC dataport")
Cc: 22.0 <mesa-stable>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14384>
This commit is contained in:
@@ -1592,6 +1592,7 @@ fs_generator::generate_uniform_pull_constant_load_gfx7(fs_inst *inst,
|
||||
assert(index.type == BRW_REGISTER_TYPE_UD);
|
||||
assert(payload.file == BRW_GENERAL_REGISTER_FILE);
|
||||
assert(type_sz(dst.type) == 4);
|
||||
assert(!devinfo->has_lsc);
|
||||
|
||||
if (index.file == BRW_IMMEDIATE_VALUE) {
|
||||
const uint32_t surf_index = index.ud;
|
||||
|
Reference in New Issue
Block a user