diff options
author | Eric Anholt <eric@anholt.net> | 2010-07-07 12:25:22 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-07-07 14:06:26 -0700 |
commit | 9cbd8a1d5a85f39f12e9edbd2defbb9e9d0468ef (patch) | |
tree | 1c9415e53702b6213eed6f490b20073f16b05dd9 /src/glsl/ir_function_inlining.h | |
parent | 43b5b03d67ce890e867c81d4a5cfc4871d711d43 (diff) |
glsl2: Fix ir_div_to_mul_rcp for integer division.
rcp of an integer value did not produce the result you're looking for.
Instead, do the a * rcp(b) as float and truncate after. This mostly
fixes glsl-fs-loop-nested.
Diffstat (limited to 'src/glsl/ir_function_inlining.h')
0 files changed, 0 insertions, 0 deletions