KhronosGroup / Vulkan-LoaderAndValidationLayers

**Deprecated repository** for Vulkan loader and validation layers
Apache License 2.0
414 stars 172 forks source link

layers:Don't overwrite pColorBlendState ptr #2544

Closed tobine closed 6 years ago

tobine commented 6 years ago

Fixes #2543

When creating PSO, keep any pColorBlendState ptr value even if it should be ignored. Only create safe_struct wrapper in case where value shouldn't be ignored.

tobine commented 6 years ago

Running this as a test PR to see if keeping this ignored ptr causes any issues with testing. We really shouldn't be over-writing these ptrs in validation so alternative is to just keep original value in ignored cases instead of replacing with NULL. There are a few more such cases so if this works I'll test those out as well.

tobine commented 6 years ago

Disabling unique_objects layer was determined to be good solution here. Closing this.