projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b3092e
)
add vec4_texcube to AsmInfo[]
author
Brian
<brian@yutani.localnet.net>
Sat, 3 Feb 2007 01:00:26 +0000
(18:00 -0700)
committer
Brian
<brian@yutani.localnet.net>
Sat, 3 Feb 2007 01:00:26 +0000
(18:00 -0700)
src/mesa/shader/slang/slang_codegen.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_codegen.c
b/src/mesa/shader/slang/slang_codegen.c
index 17d1a6bb82fa227488dc74f449c242126add44d9..4cb161a5b65c71506a9acd90bed0ea1a9bde27a4 100644
(file)
--- a/
src/mesa/shader/slang/slang_codegen.c
+++ b/
src/mesa/shader/slang/slang_codegen.c
@@
-460,6
+460,7
@@
static slang_asm_info AsmInfo[] = {
{ "vec4_tex3d", IR_TEX, 1, 2 },
{ "vec4_texb3d", IR_TEXB, 1, 2 }, /* 3d w/ bias */
{ "vec4_texp3d", IR_TEXP, 1, 2 }, /* 3d w/ projection */
+ { "vec4_texcube", IR_TEX, 1, 2 }, /* cubemap */
/* unary op */
{ "int_to_float", IR_I_TO_F, 1, 1 },