diff options
author | Rob Clark <[email protected]> | 2016-09-16 11:54:55 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-09-16 11:55:26 -0400 |
commit | ba8a50955d71a750ba36cfba5c26701191ffc011 (patch) | |
tree | 76f1384dc00a58ee5f3d7df25ca4cc7fd87ae0cc /src/gallium/auxiliary | |
parent | 702ff0b9a017814851d119065cfeb7cd8afc95ce (diff) |
ttn: fix warning after 7bf76563e
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/nir/tgsi_to_nir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c index 7f5774dcfa8..ddb3f65ecf7 100644 --- 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) |