Mesa (master): v3d: Add support for textureSize() on MSAA textures.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Dec 30 16:11:59 UTC 2018
Module: Mesa
Branch: master
Commit: 20021e3473ae6fae7d850425e031523b1983d4e5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=20021e3473ae6fae7d850425e031523b1983d4e5
Author: Eric Anholt <eric at anholt.net>
Date: Fri Dec 28 10:09:00 2018 -0800
v3d: Add support for textureSize() on MSAA textures.
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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/broadcom/compiler/nir_to_vir.c b/src/broadcom/compiler/nir_to_vir.c
index a5b7269441..e01668c62c 100644
--- 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. */
More information about the mesa-commit
mailing list