summaryrefslogtreecommitdiffstats
path: root/src/util/tests/hash_table/collision.c
diff options
context:
space:
mode:
authorDarren Salt <[email protected]>2016-10-16 20:32:19 +0100
committerBas Nieuwenhuizen <[email protected]>2016-11-12 15:06:27 +0100
commit9b121512ac0f78d0996613664b456005d88370d2 (patch)
treeb97bac88795b9a592136b7dba66e61a4d0fef40a /src/util/tests/hash_table/collision.c
parentdfc001dccc7a29b1acf8d1ecf8072223aa98bc1b (diff)
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 <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/util/tests/hash_table/collision.c')
0 files changed, 0 insertions, 0 deletions