st/mesa: correctly calculate the storage offset
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 1 Aug 2017 07:35:07 +0000 (17:35 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 14 Aug 2017 22:20:57 +0000 (08:20 +1000)
commitde0e62e1065e2d9172acf3ab7c70bba0160125c8
tree0051b4428a9ab2de868af2b5a1e6e82b1f06be45
parent365d34540f331df57780dddf8da87235be0a6bcb
st/mesa: correctly calculate the storage offset

When generating the storage offset for struct members we need
to skip opaque types as they no longer have backing storage.

Fixes: fcbb93e86024 ("mesa: stop assigning unused storage for non-bindless opaque types")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101983
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/Makefile.sources
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_glsl_types.cpp [new file with mode: 0644]
src/mesa/state_tracker/st_glsl_types.h [new file with mode: 0644]