summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreend.h
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-04-09 03:28:48 -0700
committerZack Rusin <[email protected]>2013-04-10 12:31:22 -0700
commit7466e0b6c84ce0c6029e60739daac8baeccb8b0b (patch)
treeab55213bdf4ee938bca1ac94f0bc6cfe5bbed3c3 /src/gallium/drivers/r600/evergreend.h
parent1ad4a4eeb3fe83ce3ce7336250d725bf0a28de7b (diff)
gallivm: fix unsigned divide and remainder opcodes
We want to both make sure we never divide by zero to not generate sigfpe and that divide by zero is guaranteed to return 0xffffffff. Based on José idea. Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreend.h')
0 files changed, 0 insertions, 0 deletions