Class VkPhysicalDeviceComputeShaderDerivativesFeaturesNV

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

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

    See Compute Shader Derivatives for more information.

    If the VkPhysicalDeviceComputeShaderDerivativesFeaturesNV structure is included in the pNext chain of VkPhysicalDeviceFeatures2, 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;
     }