diff options
author | Eric Anholt <[email protected]> | 2010-08-22 00:44:28 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-22 00:52:18 -0700 |
commit | 250fccecc81e2ad8a63efaccae85793fbffd0a37 (patch) | |
tree | cbadacaf86b1ad286046195364ecec1887a93d00 /src/gallium/winsys/r600 | |
parent | 556f19415a5210aacd52d652b8aae6e58c44e4ed (diff) |
i965: Fix brw_math1 with scalar argument in gen6 FS.
The docs claim two conflicting things: One, that a scalar source is
supported. Two, source hstride must be 1 and width must be exec size.
So splat a constant argument out into a full reg to operate on, since
violating the second set of constraints is clearly failing.
The alternative here might be to do a 1-wide exec on a constant
argument for math1. It would probably save cycles too. But I'll
leave that for the glsl2-965 branch.
Fixes glsl-algebraic-div-one-2.shader_test.
Diffstat (limited to 'src/gallium/winsys/r600')
0 files changed, 0 insertions, 0 deletions