mesa/src/amd/vulkan
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
..
winsys/amdgpu radv: split the device local memory heap into two 2016-10-28 12:27:49 +10:00
.gitignore radv: Suffix the radeon_icd file with the host CPU 2016-11-09 21:36:45 +00:00
Makefile.am radv: automake: list correct file in the EXTRA_DIST 2016-11-10 18:50:13 +00:00
Makefile.sources radv: port to common wsi codebase 2016-10-19 10:15:43 +10:00
dev_icd.json.in radv: Replace "abi_versions" with correct "api_version". 2016-10-25 12:55:39 -07:00
radeon_icd.json.in radv: Suffix the radeon_icd file with the host CPU 2016-11-09 21:36:45 +00:00
radv_cmd_buffer.c radv: allow cmask transitions without fast clear 2016-10-24 11:03:09 +10:00
radv_cs.h radv: Use proper header guards over 'pragma once' directives 2016-10-10 16:10:56 +11:00
radv_descriptor_set.c radv: move to using shared vk_alloc inlines. 2016-10-19 09:05:26 +10:00
radv_descriptor_set.h radv: Use proper header guards over 'pragma once' directives 2016-10-10 16:10:56 +11:00
radv_device.c radv: use correct .specVersion for extensions 2016-11-09 21:36:36 +00:00
radv_entrypoints_gen.py radv: remove the validation layer and some related bits. 2016-10-12 08:57:09 +10:00
radv_formats.c radv: fix uninitialized variables 2016-10-12 09:00:22 +10:00
radv_image.c radv: drop some unused cmask info members. 2016-11-01 15:11:35 +10:00
radv_meta.c
radv_meta.h radv: Use proper header guards over 'pragma once' directives 2016-10-10 16:10:56 +11:00
radv_meta_blit.c nir/i965/anv/radv/gallium: make shader info a pointer 2016-10-26 14:29:36 +11:00
radv_meta_blit2d.c nir/i965/anv/radv/gallium: make shader info a pointer 2016-10-26 14:29:36 +11:00
radv_meta_buffer.c vulkan: import latest public vulkan headers + and fix drivers. 2016-11-11 12:33:07 +10:00
radv_meta_bufimage.c nir/i965/anv/radv/gallium: make shader info a pointer 2016-10-26 14:29:36 +11:00
radv_meta_clear.c nir/i965/anv/radv/gallium: make shader info a pointer 2016-10-26 14:29:36 +11:00
radv_meta_copy.c
radv_meta_decompress.c nir/i965/anv/radv/gallium: make shader info a pointer 2016-10-26 14:29:36 +11:00
radv_meta_fast_clear.c nir/i965/anv/radv/gallium: make shader info a pointer 2016-10-26 14:29:36 +11:00
radv_meta_resolve.c nir/i965/anv/radv/gallium: make shader info a pointer 2016-10-26 14:29:36 +11:00
radv_meta_resolve_cs.c nir/i965/anv/radv/gallium: make shader info a pointer 2016-10-26 14:29:36 +11:00
radv_pass.c radv: move to using shared vk_alloc inlines. 2016-10-19 09:05:26 +10:00
radv_pipeline.c radv/pipeline: Don't dereference NULL dynamic state pointers 2016-11-12 15:06:27 +01:00
radv_pipeline_cache.c radv: move to using shared vk_alloc inlines. 2016-10-19 09:05:26 +10:00
radv_private.h radv: drop some unused cmask info members. 2016-11-01 15:11:35 +10:00
radv_query.c radv: move to using shared vk_alloc inlines. 2016-10-19 09:05:26 +10:00
radv_radeon_winsys.h radv: split the device local memory heap into two 2016-10-28 12:27:49 +10:00
radv_util.c radv: make use of shared vector helper. 2016-10-19 09:05:25 +10:00
radv_util.h radv: Use proper header guards over 'pragma once' directives 2016-10-10 16:10:56 +11:00
radv_wsi.c radv: mark the fence as submitted and signalled in vkAcquireNextImageKHR 2016-10-26 12:25:35 +10:00
radv_wsi_wayland.c radv: port to common wsi codebase 2016-10-19 10:15:43 +10:00
radv_wsi_x11.c radv: port to common wsi codebase 2016-10-19 10:15:43 +10:00
si_cmd_buffer.c
vk_format.h radv: fix identity swizzle handling 2016-10-14 04:45:57 +10:00
vk_format_layout.csv
vk_format_parse.py
vk_format_table.py