ttn: handle GLSL_SAMPLER_DIM_SUBPASS_MS case
Fixes a warning. Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
This commit is contained in:
@@ -1341,6 +1341,7 @@ ttn_tex(struct ttn_compile *c, nir_alu_dest dest, nir_ssa_def **src)
|
||||
instr->coord_components = 3;
|
||||
break;
|
||||
case GLSL_SAMPLER_DIM_SUBPASS:
|
||||
case GLSL_SAMPLER_DIM_SUBPASS_MS:
|
||||
unreachable("invalid sampler_dim");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user