summaryrefslogtreecommitdiffstats
path: root/m4/ax_pthread.m4
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-03-30 16:09:51 -0700
committerKenneth Graunke <[email protected]>2015-04-01 13:30:13 -0700
commit25e214db0094306835a03225e1a37164c7c98bf7 (patch)
treeeff4c1dcf366e15d83abf49279dc48a75236b874 /m4/ax_pthread.m4
parent3d166b313db14523c2e618e0ebf22b83c86d6334 (diff)
nir: Use _mesa_flsll(InputsRead) in prog->nir.
InputsRead is a 64-bit bitfield. Using _mesa_fls would silently truncate off the high bits, claiming inputs 32..56 (VARYING_SLOT_MAX) were never read. Using <= here was a hack I threw in at the last minute to fix programs which happened to use input slot 32. Switch back to using < now that the underlying problem is fixed. Fixes crashes in "Euro Truck Simulator 2" when using prog->nir, which uses input slot 33. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'm4/ax_pthread.m4')
0 files changed, 0 insertions, 0 deletions