summaryrefslogtreecommitdiff
path: root/common.py
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-08-22 00:44:28 -0700
committerEric Anholt <eric@anholt.net>2010-08-22 00:52:18 -0700
commit250fccecc81e2ad8a63efaccae85793fbffd0a37 (patch)
treecbadacaf86b1ad286046195364ecec1887a93d00 /common.py
parent556f19415a5210aacd52d652b8aae6e58c44e4ed (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 'common.py')
0 files changed, 0 insertions, 0 deletions