projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f695d62
)
v3d: Add support for textureSize() on MSAA textures.
author
Eric Anholt
<eric@anholt.net>
Fri, 28 Dec 2018 18:09:00 +0000
(10:09 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sun, 30 Dec 2018 16:05:11 +0000
(08:05 -0800)
Fixes failures in
dEQP-GLES31.functional.shaders.builtin_functions.texture_size.samples_1_texture_2d
in the GLES3.1 suite.
src/broadcom/compiler/nir_to_vir.c
patch
|
blob
|
history
diff --git
a/src/broadcom/compiler/nir_to_vir.c
b/src/broadcom/compiler/nir_to_vir.c
index a5b7269441ae1049bbadd636e9f7ed460a65d3f4..e01668c62c07b32449d046eec4b741d4a2179070 100644
(file)
--- a/
src/broadcom/compiler/nir_to_vir.c
+++ b/
src/broadcom/compiler/nir_to_vir.c
@@
-268,6
+268,7
@@
ntq_emit_txs(struct v3d_compile *c, nir_tex_instr *instr)
switch (instr->sampler_dim) {
case GLSL_SAMPLER_DIM_1D:
case GLSL_SAMPLER_DIM_2D:
+ case GLSL_SAMPLER_DIM_MS:
case GLSL_SAMPLER_DIM_3D:
case GLSL_SAMPLER_DIM_CUBE:
/* Don't minify the array size. */