From 908fddb5629eef00554c39c390cc65b2c8cd8903 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 21 Jun 2016 19:17:01 +1000 Subject: [PATCH] shader: add missing msaa bits we should never see this in practice, but avoids a warning. --- src/vrend_shader.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vrend_shader.c b/src/vrend_shader.c index 88784bf..89fe144 100644 --- a/src/vrend_shader.c +++ b/src/vrend_shader.c @@ -1124,6 +1124,7 @@ static int translate_tex(struct dump_ctx *ctx, case TGSI_TEXTURE_SHADOWRECT: case TGSI_TEXTURE_CUBE: case TGSI_TEXTURE_SHADOWCUBE: + case TGSI_TEXTURE_2D_MSAA: twm = ".xy"; break; case TGSI_TEXTURE_3D: @@ -1131,6 +1132,7 @@ static int translate_tex(struct dump_ctx *ctx, case TGSI_TEXTURE_SHADOW2D_ARRAY: case TGSI_TEXTURE_SHADOWCUBE_ARRAY: case TGSI_TEXTURE_CUBE_ARRAY: + case TGSI_TEXTURE_2D_ARRAY_MSAA: twm = ".xyz"; break; }