nir/lower_tex: Add support for tg4 offsets lowering

Signed-off-by: Karol Herbst <kherbst@redhat.com>
This commit is contained in:
Karol Herbst
2019-03-19 18:47:20 +01:00
committed by Karol Herbst
parent 99f202432b
commit d8a0658d8b
2 changed files with 62 additions and 0 deletions

View File

@@ -3236,6 +3236,11 @@ typedef struct nir_lower_tex_options {
*/
bool lower_tg4_broadcom_swizzle;
/**
* If true, lowers tg4 with 4 constant offsets to 4 tg4 calls
*/
bool lower_tg4_offsets;
enum nir_lower_tex_packing lower_tex_packing[32];
} nir_lower_tex_options;