mesa/src
Kenneth Graunke 897f6d3c7d i965: Correctly emit the RNDZ instruction.
Simply using RNDU, RNDZ, or RNDE does not produce the desired result.
Rather, the RND* instructions place a value in the destination register
that may be 1 less than the correct answer.  They can also set per-channel
"increment bits" in a flag register, which, if set, mean dest needs to
be incremented by 1.  A second instruction - a predicated add -
completes the job.

Notably, RNDD always produces the correct answer in a single
instruction.

Fixes piglit test glsl-fs-trunc.
2010-10-14 12:40:16 -07:00
..
driclient mesa: Purge macros NEED_EVENTS and NEED_REPLIES 2010-07-01 13:07:07 -06:00
egl egl: Access config attributes directly. 2010-10-14 17:16:14 +08:00
gallium llvmpipe: don't try to emit non-existent color outputs 2010-10-14 14:08:20 +01:00
glsl glsl: Refresh autogenerated file builtin_function.cpp. 2010-10-14 12:40:16 -07:00
glu glu/sgi: Remove dead initialization in extract565rev. 2010-07-16 01:11:03 -07:00
glut glut: Define eventParser for non-Windows only. 2010-09-21 15:17:52 -07:00
glw Makefiles: Don't complain if depend file to be included doesn't exist. 2010-07-21 13:19:33 -07:00
glx ARB_texture_rg: Add GLX protocol support 2010-10-01 15:49:12 -07:00
mapi Drop GLcontext typedef and use struct gl_context instead 2010-10-13 09:43:25 -04:00
mesa i965: Correctly emit the RNDZ instruction. 2010-10-14 12:40:16 -07:00
talloc scons: Fix inverted logic. 2010-08-26 18:29:04 +01:00
Makefile
SConscript talloc: Make it compile with MSVC, MinGW, and Xcode/gcc4.0. 2010-08-13 13:53:04 +01:00