nir: Add a new lowering option to lower all txd to txl.
VC5 requires that all txd are lowered in the shader. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -2619,6 +2619,12 @@ typedef struct nir_lower_tex_options {
|
||||
* with lower_txd_cube_map.
|
||||
*/
|
||||
bool lower_txd_shadow;
|
||||
|
||||
/**
|
||||
* If true, lower nir_texop_txd on all samplers to a nir_texop_txl.
|
||||
* Implies lower_txd_cube_map and lower_txd_shadow.
|
||||
*/
|
||||
bool lower_txd;
|
||||
} nir_lower_tex_options;
|
||||
|
||||
bool nir_lower_tex(nir_shader *shader,
|
||||
|
Reference in New Issue
Block a user