diff options
author | Marek Olšák <[email protected]> | 2016-02-23 00:37:39 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-02-23 16:42:16 +0100 |
commit | 190a291b03f799471110f95ae8a4d519d309696d (patch) | |
tree | 1a784f889fe2a95081ea53d9b400cabcb126a5f4 /src/gallium/auxiliary/indices | |
parent | 31a0affa280ef06261a2ed0135f72a7accc1bac6 (diff) |
tgsi/scan: handle holes between VS inputs, assert-fail in other cases
"st/mesa: overhaul vertex setup for clearing, glDrawPixels, glBitmap"
added a vertex shader declaring IN[0] and IN[2], but not IN[1].
Drivers relying on tgsi_shader_info can't handle holes in declarations,
because tgsi_shader_info doesn't track that.
This is just a quick workaround meant for stable that will work for vertex
shaders.
This fixes radeonsi DrawPixels and CopyPixels crashes.
Cc: [email protected]
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/indices')
0 files changed, 0 insertions, 0 deletions