From: Marek Olšák Date: Mon, 5 Sep 2011 01:25:34 +0000 (+0200) Subject: st/mesa: convert shadow array samplers to TGSI X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19ff7666f3ab58b91cf39bc5ec23d1d0b3d230ba;p=mesa.git st/mesa: convert shadow array samplers to TGSI --- diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c index f4263c64c3d..b4111b00d68 100644 --- a/src/mesa/state_tracker/st_mesa_to_tgsi.c +++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c @@ -276,6 +276,8 @@ translate_texture_target( GLuint textarget, case TEXTURE_1D_INDEX: return TGSI_TEXTURE_SHADOW1D; case TEXTURE_2D_INDEX: return TGSI_TEXTURE_SHADOW2D; case TEXTURE_RECT_INDEX: return TGSI_TEXTURE_SHADOWRECT; + case TEXTURE_1D_ARRAY_INDEX: return TGSI_TEXTURE_SHADOW1D_ARRAY; + case TEXTURE_2D_ARRAY_INDEX: return TGSI_TEXTURE_SHADOW2D_ARRAY; default: break; } }