summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_screen.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-01-07 16:16:35 -0800
committerMatt Turner <[email protected]>2016-01-13 11:22:40 -0800
commit74cff779eb5217fe2b791f2a23405096901f45fd (patch)
tree7ec2648c95a5ea3aaf12c8184cab1a2bc3a671b6 /src/mesa/drivers/dri/i965/intel_screen.h
parenta5fcff6628c641d01954d0af4aee0e723a570cad (diff)
nir: Change bfm's semantics to match Intel/AMD/SM5.
Intel/AMD's hardware instructions do not handle arguments of 32. Constant evaluation should not produce a result different from the hardware instruction. The s/1ull/1u/ change is intentional: previously we wanted defined behavior for the "1 << 32" case, but we're making this case undefined so we can make it 1u and save ourselves a 64-bit operation. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_screen.h')
0 files changed, 0 insertions, 0 deletions