diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2018-05-07 08:42:56 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2018-05-09 07:01:10 +0200 |
commit | 2cf64fdb4623cb145e51f615cf0baf85de23234d (patch) | |
tree | 2c8275db981e45532739628b38cb7636999e130e /.editorconfig | |
parent | e7a7b712fe81aac96eaae267ad6cb5444f02e7f6 (diff) |
anv: ignore pColorBlendState if all color attachments of the subpass are unused
According to Vulkan spec:
"pColorBlendState is a pointer to an instance of the
VkPipelineColorBlendStateCreateInfo structure, and is ignored if the
pipeline has rasterization disabled or if the subpass of the render pass the
pipeline is created against does not use any color attachments."
Fixes tests from CL#2505:
dEQP-VK.renderpass.*.simple.color_unused_omit_blend_state
v2:
- Check that blend is not NULL before usage.
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions