summaryrefslogtreecommitdiffstats
path: root/src/util/bitscan.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-04-17 10:09:14 -0700
committerEric Anholt <[email protected]>2019-04-19 08:45:14 -0700
commit9ac5ec2f90f8b6b2c0e67039b1ae7590374be872 (patch)
tree9ed0bac43906086f2d9cf531a3dc46b86dbaac7c /src/util/bitscan.h
parent2288b59ddc4925aaa09b416bdd6d95f4f24199db (diff)
nir: Fix deref offset calculation for structs.
We were calcuating the offset for the field within the struct, and just dropping it on the floor. Fixes a regression in KHR-GLES3.shaders.struct.local.nested_struct_array_dynamic_index_fragment and a few of its friends since the scratch lowering commit. Fixes: e8e159e9df40 ("nir/deref: Add helpers for getting offsets") Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/util/bitscan.h')
0 files changed, 0 insertions, 0 deletions