projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924ee3f
)
st/mesa: add support for new double opcodes
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Fri, 25 Jul 2014 21:12:42 +0000
(17:12 -0400)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Fri, 20 Feb 2015 00:32:55 +0000
(19:32 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index e3f79edf08d09339292b1f348900b6987c411f69..4d8ce11eeeaf62d1bc6e73f5e4dba86623af7b49 100644
(file)
--- a/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@
-848,7
+848,7
@@
glsl_to_tgsi_visitor::get_opcode(ir_instruction *ir, unsigned op,
case2iu(ISHR, USHR);
- case
2fi(SSG, I
SSG);
+ case
3fid(SSG, ISSG, D
SSG);
case3fid(ABS, IABS, DABS);
case2iu(IBFE, UBFE);
@@
-861,6
+861,10
@@
glsl_to_tgsi_visitor::get_opcode(ir_instruction *ir, unsigned op,
case3fid(RSQ, RSQ, DRSQ);
case3fid(FRC, FRC, DFRAC);
+ case3fid(TRUNC, TRUNC, DTRUNC);
+ case3fid(CEIL, CEIL, DCEIL);
+ case3fid(FLR, FLR, DFLR);
+ case3fid(ROUND, ROUND, DROUND);
default: break;
}