intel/compiler: Don't create vec4 reg-set for gen8+
After60e1d0f028
, we know that vec4 will never be used for gen >= 8. Ref:60e1d0f028
("intel/compiler: Remove INTEL_SCALAR_... env variables") Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17437>
This commit is contained in:
@@ -110,7 +110,8 @@ brw_compiler_create(void *mem_ctx, const struct intel_device_info *devinfo)
|
||||
brw_init_isa_info(&compiler->isa, devinfo);
|
||||
|
||||
brw_fs_alloc_reg_sets(compiler);
|
||||
brw_vec4_alloc_reg_set(compiler);
|
||||
if (devinfo->ver < 8)
|
||||
brw_vec4_alloc_reg_set(compiler);
|
||||
|
||||
compiler->precise_trig = env_var_as_boolean("INTEL_PRECISE_TRIG", false);
|
||||
|
||||
|
Reference in New Issue
Block a user