summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-11-07 10:59:16 -0800
committerJason Ekstrand <[email protected]>2015-01-15 07:19:01 -0800
commit10adf8fc858c21cd95b3e02a8d6abee563ca1046 (patch)
treed7b29be9ae747f9e991ab9d84132c592f5f6fde4 /scons
parenta76ccbfacf3d8e4ea4ab9c25d279eab480f8702e (diff)
nir: Differentiate between signed and unsigned versions of find_msb
We also make the return types match GLSL. The GLSL spec specifies that findMSB and findLSB return a signed integer. Previously, nir had them return unsigned. This updates nir's behavior to match what GLSL expects. We also update the nir-to-fs generator to take the new instructions. While we're at it, we fix the case where the input to findMSB is zero. Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions