projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
702ff0b
)
ttn: fix warning after 7bf76563e
author
Rob Clark
<robdclark@gmail.com>
Fri, 16 Sep 2016 15:54:55 +0000
(11:54 -0400)
committer
Rob Clark
<robdclark@gmail.com>
Fri, 16 Sep 2016 15:55:26 +0000
(11:55 -0400)
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/auxiliary/nir/tgsi_to_nir.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/nir/tgsi_to_nir.c
b/src/gallium/auxiliary/nir/tgsi_to_nir.c
index
7f5774d
..
ddb3f65
100644
(file)
--- a/
src/gallium/auxiliary/nir/tgsi_to_nir.c
+++ b/
src/gallium/auxiliary/nir/tgsi_to_nir.c
@@
-1340,6
+1340,8
@@
ttn_tex(struct ttn_compile *c, nir_alu_dest dest, nir_ssa_def **src)
case GLSL_SAMPLER_DIM_CUBE:
instr->coord_components = 3;
break;
+ case GLSL_SAMPLER_DIM_SUBPASS:
+ unreachable("invalid sampler_dim");
}
if (instr->is_array)