summaryrefslogtreecommitdiffstats
path: root/Android.common.mk
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-10-19 11:39:30 -0700
committerChad Versace <[email protected]>2015-10-20 11:29:16 -0700
commit2484d1a01fff6127b45280ee9bfbd1bbfaa425db (patch)
treeb814676f7dec0a2be91887ac93e2fafe88398246 /Android.common.mk
parentb51468b519f447c8e0afd492ce09d7c9485e222b (diff)
anv/pipeline: Fix requirement for depthstencil state
The Vulkan spec allows VkGraphicsPipelineCreateInfo::pDepthStencilState to be NULL when the pipeline's subpass contains no depthstencil attachment (see spec quote below). anv_pipeline_init_dynamic_state() required it unconditionally. This path fixes anv_pipeline_init_dynamic_state() to access pDepthStencilState only when there is a depthstencil attachment. From the Vulkan spec (20 Oct 2015, git-aa308cb) pDepthStencilState [...] may only be NULL if renderPass and subpass specify a subpass that has no depth/stencil attachment.
Diffstat (limited to 'Android.common.mk')
0 files changed, 0 insertions, 0 deletions