Re: [Mesa-dev] [PATCH] radv/pipeline: Don't dereference NULL dynamic state pointers

2016-10-16 Thread Edward O'Callaghan
Seems reasonable to me. Acked-by: Edward O'Callaghan On 10/17/2016 06:32 AM, Darren Salt wrote: > This is a port of commit a4a59172482d50318a5ae7f99021bcf0125e0f53: > >Add guards to prevent dereferencing NULL dynamic pipeline state. Asserts >of pCreateInfo

[Mesa-dev] [PATCH] radv/pipeline: Don't dereference NULL dynamic state pointers

2016-10-16 Thread Darren Salt
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