diff options
author | Nanley Chery <[email protected]> | 2016-06-09 14:48:00 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2016-06-13 11:35:45 -0700 |
commit | a4a59172482d50318a5ae7f99021bcf0125e0f53 (patch) | |
tree | 23ff81708f46bc203a654a214aabbb5253801b27 /src/mesa | |
parent | a0d84a9ef9df69606a928cf7dca8f2b80dea1c36 (diff) |
anv/pipeline: Don't dereference NULL dynamic state pointers
Add guards to prevent dereferencing NULL dynamic pipeline state. Asserts
of pCreateInfo members are moved to the earliest points at which they
should not be NULL.
This fixes a segfault seen in the McNopper demo, VKTS_Example09.
v3 (Jason Ekstrand):
- Fix disabled rasterization check
- Revert opaque detection of color attachment usage
Signed-off-by: Nanley Chery <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions