diff options
author | Martin Pelikán <[email protected]> | 2018-06-01 14:27:24 +0200 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-01 08:09:35 -0700 |
commit | 53719f818cf320add55dc7ed3612725c2f6128ce (patch) | |
tree | 527021754c711aaa7618d58201969fc75e78a90f /src/hgl | |
parent | 360bfb619f394849213b24f3a62696db3210d1ed (diff) |
compiler/spirv: reject invalid shader code properly
After bebe3d626e5, b->fail_jump is prepared after vtn_create_builder
which can longjmp(3) to it through its vtx_assert()s. This corrupts
the stack and creates confusing core dumps, so we need to avoid it.
While there, I decided to print the offending values for debugability.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/hgl')
0 files changed, 0 insertions, 0 deletions