diff options
author | Jonathan Marek <[email protected]> | 2019-12-12 13:58:28 -0500 |
---|---|---|
committer | Jonathan Marek <[email protected]> | 2019-12-12 20:33:17 -0500 |
commit | 2db03867f643ce535dc955e9a27dfbc63de6e627 (patch) | |
tree | 72a5c44a59ccf997217ab04e92fd7052b5beaa30 /src/freedreno/ir3 | |
parent | ab54aceaa82b0f5759aa3d3357837a2918a538d8 (diff) |
freedreno/ir3: add GLSL_SAMPLER_DIM_SUBPASS to tex_info
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/freedreno/ir3')
-rw-r--r-- | src/freedreno/ir3/ir3_compiler_nir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/freedreno/ir3/ir3_compiler_nir.c b/src/freedreno/ir3/ir3_compiler_nir.c index 1d888f42446..398480ea346 100644 --- a/src/freedreno/ir3/ir3_compiler_nir.c +++ b/src/freedreno/ir3/ir3_compiler_nir.c @@ -1895,6 +1895,8 @@ tex_info(nir_tex_instr *tex, unsigned *flagsp, unsigned *coordsp) case GLSL_SAMPLER_DIM_RECT: case GLSL_SAMPLER_DIM_EXTERNAL: case GLSL_SAMPLER_DIM_MS: + case GLSL_SAMPLER_DIM_SUBPASS: + case GLSL_SAMPLER_DIM_SUBPASS_MS: coords = 2; break; case GLSL_SAMPLER_DIM_3D: |