summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_parser.yy
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2013-08-08 13:50:01 -0700
committerMatt Turner <[email protected]>2013-08-16 13:11:07 -0700
commit0ae9ca12a887a5aca47edc2a6a99eac4235bf4b0 (patch)
treeced4276dc96e8b1b21ea1e9dfbff6e5783c5dda8 /src/glsl/glsl_parser.yy
parent079bdba05f870807d3ed77fa3093cdb7727aa2fd (diff)
i965: Emit MOVs for neg/abs.
Necessary to avoid combining a bitcast and a modifier into a single operation. Otherwise if safe, the MOV should be removed by copy-propagation or register coalescing. With this and the next patch, there are only four changes in shader-db: all a single extra instruction. The code does something like mov a.w, -b.x and copy propagation doesn't work because it only handles no-op swizzles. Seems acceptable, given the known limitation of our copy propagation. Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser.yy')
0 files changed, 0 insertions, 0 deletions