Results 1 to 2 of 2

Thread: Vulkan 1.0.59 - Why front/back must be provided when stencil test is disabled?

  1. #1
    Newbie
    Join Date
    Sep 2017
    Posts
    1

    Vulkan 1.0.59 - Why front/back must be provided when stencil test is disabled?

    The spec doesn't seem to allow setting null pointers for the front/back fields of VkPipelineDepthStencilStateCreateInfo when stencilTestEnable is set to VK_FALSE. Is this a bug in the spec or is there a reason why we need to provide two valid structures even though we're not doing stencil test? Thanks

  2. #2
    Senior Member
    Join Date
    Mar 2016
    Posts
    212
    Firstly front and back are not pointers.
    Otherwisely it sounds like a valid question: why it cannot be left uninitialized?
    VkGraphicsPipelineCreateInfo is a complicated structure and such things can get forgotten.
    I have a similar Issue on some of its current illogicalities.
    Maybe make a new Issue or append it there.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean