projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab54ace
)
freedreno/ir3: add GLSL_SAMPLER_DIM_SUBPASS to tex_info
author
Jonathan Marek
<jonathan@marek.ca>
Thu, 12 Dec 2019 18:58:28 +0000
(13:58 -0500)
committer
Jonathan Marek
<jonathan@marek.ca>
Fri, 13 Dec 2019 01:33:17 +0000
(20:33 -0500)
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/freedreno/ir3/ir3_compiler_nir.c
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3_compiler_nir.c
b/src/freedreno/ir3/ir3_compiler_nir.c
index 1d888f424463542aec3bfc9ad447bc3362b60fab..398480ea346a78a8bc5619d4b86291bcdd62f8c4 100644
(file)
--- 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: