summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-06-04 01:24:07 -0700
committerKenneth Graunke <[email protected]>2015-06-04 15:32:46 -0700
commit15a12795c6f3edef0e1cbab39b6da3d5b8f64fc3 (patch)
tree27ba2adb1ae19f8e0b6689e417044861cd191351 /include
parent71e94578779e4344066d434004fd85ca493de552 (diff)
prog_to_nir: Make RSQ properly take the absolute value of its argument.
I just botched this when writing the original code. From the ARB_vertex_program specification: "The RSQ instruction approximates the reciprocal of the square root of the absolute value of the scalar operand and replicates it to all four components of the result vector." Fixes a Glean vertProg1 subtest: RSQ test 2 (reciprocal square root of negative value) Cc: [email protected] Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90547 Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions