summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-07-07 12:25:22 -0700
committerEric Anholt <[email protected]>2010-07-07 14:06:26 -0700
commit9cbd8a1d5a85f39f12e9edbd2defbb9e9d0468ef (patch)
tree1c9415e53702b6213eed6f490b20073f16b05dd9 /src/glsl/builtins
parent43b5b03d67ce890e867c81d4a5cfc4871d711d43 (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/builtins')
0 files changed, 0 insertions, 0 deletions