anv: Fix anv_pipeline_validate_create_info assertions.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 29 Sep 2016 18:42:43 +0000 (11:42 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 12 Oct 2016 05:50:09 +0000 (22:50 -0700)
commitba38a9d3803cdd43573f1c68497c54d701e911b6
treee060c7073dddab2b1af97ac5c5ec29709625da00
parent389d6dedbe75defe07216ad761569a9b94f44e58
anv: Fix anv_pipeline_validate_create_info assertions.

Many of these can be "NULL if the pipeline has rasterization disabled."
Also, we should assert that pMultisampleState exists.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_pipeline.c