diff options
author | Brian Paul <brianp@vmware.com> | 2009-03-05 17:23:42 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-03-05 17:25:25 -0700 |
commit | 348580197802406fc36219dc3f1ab90fbb8f4717 (patch) | |
tree | 112cc64b328a32c484893ffdee1cf81ebfada688 /src/mesa/osmesa.pc.in | |
parent | be8c0b25eaf67b7deefe7844d0b8ed19abad8d86 (diff) |
i965: fix emit_math1() function used for scalar instructions
Instructions such as RCP, RSQ, LOG must smear the result of the function
across the dest register's X, Y, Z and W channels (subject to write masking).
Before this change, only the X component was getting written.
Among other things, this fixes cube map texture sampling in GLSL shaders
(since cube lookups involve normalizing the texcoord).
Diffstat (limited to 'src/mesa/osmesa.pc.in')
0 files changed, 0 insertions, 0 deletions