projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8452a0
)
st/mesa: convert shadow array samplers to TGSI
author
Marek Olšák
<maraeo@gmail.com>
Mon, 5 Sep 2011 01:25:34 +0000
(
03:25
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 10 Sep 2011 06:53:29 +0000
(08:53 +0200)
src/mesa/state_tracker/st_mesa_to_tgsi.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_mesa_to_tgsi.c
b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index f4263c64c3dadf2ed900567bb3579bd23238fa8c..b4111b00d68522df209ce7092353ea95772eea25 100644
(file)
--- 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;
}
}