mesa/src/amd
Darren Salt 9b121512ac radv/pipeline: Don't dereference NULL dynamic state pointers
This is a port of commit a4a59172482d50318a5ae7f99021bcf0125e0f53:

   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, related to pColorBlendState, seen in Talos Principle
which I've observed after startup is completed and when exiting the menus,
depending on when Vulkan rendering is selected.

v2: moved the NULL check in radv_pipeline_init_blend_state to after the
declarations.
Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2016-11-12 15:06:27 +01:00
..
addrlib amd/addrlib: limit fastcall/regparm to GCC i386 2016-11-09 21:36:35 +00:00
common ac/nir/llvm: Fix setting function attributes for intrinsics 2016-11-11 22:40:32 +01:00
vulkan radv/pipeline: Don't dereference NULL dynamic state pointers 2016-11-12 15:06:27 +01:00
Android.addrlib.mk android: add support for libmesa_amdgpu_addrlib 2016-09-13 10:06:04 +10:00
Android.common.mk android: amd/common: add support for libmesa_amd_common 2016-11-05 18:42:29 +01:00
Android.mk android: amd/common: add support for libmesa_amd_common 2016-11-05 18:42:29 +01:00
Makefile.addrlib.am amd/addrlib: hide private symbols via VISIBILITY_CXXFLAGS 2016-10-14 11:09:00 +01:00
Makefile.am amd/addrlib: move addrlib from amdgpu winsys to common code 2016-09-06 10:06:33 +10:00
Makefile.sources android: amd/common: add support for libmesa_amd_common 2016-11-05 18:42:29 +01:00