summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
authorJeff Muizelaar <[email protected]>2016-01-16 03:35:26 +0100
committerRoland Scheidegger <[email protected]>2016-01-16 03:36:29 +0100
commite5fefe49f2f86b5125da87c44fe855fd6f3424fc (patch)
tree7e967a68e153310aad1f196469970e7ee109fb8f /src/glsl/nir/nir.h
parentd54a70aa18a0139a5eefbc5193fabaf739317533 (diff)
gallivm: avoid crashing in mod by 0 with llvmpipe
This adds code that is basically the same as the code in umod, udiv and idiv. However, unlike idiv we return -1. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
0 files changed, 0 insertions, 0 deletions