Results 1 to 2 of 2

Thread: vkCmdBindDesciptorSets vs vkCmdPushDescriptorSetKHR

  1. #1
    Junior Member Haiiro no Jiren's Avatar
    Join Date
    Apr 2018
    Location
    Indonesia
    Posts
    11

    vkCmdBindDesciptorSets vs vkCmdPushDescriptorSetKHR

    Which one of them is better in term of performance, optimalisation, or anything else.

  2. #2
    Push descriptors are for making frequent changes to which resources are used in rendering commands. How frequent is "frequent"? That's what profiling is for, but generally, you're talking about per-object resources: matrices, object textures, etc.

    Basically, if you were considering using a push constant to index an array of resources to find the right resource for something, then it's a valid target for push descriptors.

    The real question is whether push descriptors are an improvement over dynamic buffer resources. That can only be discovered based on profiling.

    Also, since push descriptors are an extension, you cannot rely on them to exist. So if you use them, your application either cannot run without them, or you have to have multiple rendering paths, with multiple descriptor usage patterns.

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