Class VkPhysicalDeviceComputeShaderDerivativesFeaturesNV

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkPhysicalDeviceComputeShaderDerivativesFeaturesNV
    extends Struct
    implements NativeResource
    Structure describing compute shader derivative features that can be supported by an implementation.
    Description

    See Compute Shader Derivatives for more information.

    If the VkPhysicalDeviceComputeShaderDerivativesNV structure is included in the pNext chain of VkPhysicalDeviceFeatures2KHR, it is filled with values indicating whether each feature is supported. VkPhysicalDeviceComputeShaderDerivativesFeaturesNV can also be used in the pNext chain of VkDeviceCreateInfo to enable features.

    Valid Usage (Implicit)

    Member documentation

    • computeDerivativeGroupQuads – indicates that the implementation supports the ComputeDerivativeGroupQuadsNV SPIR-V capability.
    • computeDerivativeGroupLinear – indicates that the implementation supports the ComputeDerivativeGroupLinearNV SPIR-V capability.

    Layout

    
     struct VkPhysicalDeviceComputeShaderDerivativesFeaturesNV {
         VkStructureType sType;
         void * pNext;
         VkBool32 computeDerivativeGroupQuads;
         VkBool32 computeDerivativeGroupLinear;
     }