intel/fs: Support min_lod parameters on texture instructions
We have to lower some shadow instructions because they don't exist in hardware and we have to lower txb+offset+clamp because the message gets too big and we run into the sampler message length limit of 11 regs. Acked-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -656,6 +656,9 @@ brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir)
|
||||
.lower_txf_offset = true,
|
||||
.lower_rect_offset = true,
|
||||
.lower_txd_cube_map = true,
|
||||
.lower_txb_shadow_clamp = true,
|
||||
.lower_txd_shadow_clamp = true,
|
||||
.lower_txd_offset_clamp = true,
|
||||
};
|
||||
|
||||
OPT(nir_lower_tex, &tex_options);
|
||||
|
Reference in New Issue
Block a user