projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31c9f46
)
i965: Add translation for RNDD and RNDZ.
author
Eric Anholt
<eric@anholt.net>
Fri, 27 Aug 2010 20:29:45 +0000
(13:29 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 27 Aug 2010 20:59:36 +0000
(13:59 -0700)
Fixes:
glsl-fs-any.
glsl1-integer division with uniform var
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index bb6c456eed90bce11c96bccd21f0611947e83226..cf02b214f5cf083cef90be4cce804998cac29758 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-1483,9
+1483,16
@@
fs_visitor::generate_code()
case BRW_OPCODE_MUL:
brw_MUL(p, dst, src[0], src[1]);
break;
+
case BRW_OPCODE_FRC:
brw_FRC(p, dst, src[0]);
break;
+ case BRW_OPCODE_RNDD:
+ brw_RNDD(p, dst, src[0]);
+ break;
+ case BRW_OPCODE_RNDZ:
+ brw_RNDZ(p, dst, src[0]);
+ break;
case BRW_OPCODE_AND:
brw_AND(p, dst, src[0], src[1]);