public class NVCoverageReductionMode
extends java.lang.Object
When the number of raster samples is equal to the color samples, there is a one to one mapping between them in either of the above modes.
The new command GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV can be used to query the various raster, color, depth/stencil sample count and reduction mode combinations that are supported by the implementation. This extension would allow an implementation to support the behavior of both VK_NV_framebuffer_mixed_samples and VK_AMD_mixed_attachment_samples extensions simultaneously.
VK_NV_coverage_reduction_modeVK_NV_framebuffer_mixed_samples| Modifier and Type | Field and Description |
|---|---|
static int |
VK_COVERAGE_REDUCTION_MODE_MERGE_NV
VkCoverageReductionModeNV - Specify the coverage reduction mode
|
static int |
VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV
VkCoverageReductionModeNV - Specify the coverage reduction mode
|
static java.lang.String |
VK_NV_COVERAGE_REDUCTION_MODE_EXTENSION_NAME
The extension name.
|
static int |
VK_NV_COVERAGE_REDUCTION_MODE_SPEC_VERSION
The extension specification version.
|
static int |
VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static int |
nvkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long pCombinationCount,
long pCombinations)
Unsafe version of:
GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV |
static int |
vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int[] pCombinationCount,
VkFramebufferMixedSamplesCombinationNV.Buffer pCombinations)
Array version of:
GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV |
static int |
vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
java.nio.IntBuffer pCombinationCount,
VkFramebufferMixedSamplesCombinationNV.Buffer pCombinations)
Query supported sample count combinations.
|
public static final int VK_NV_COVERAGE_REDUCTION_MODE_SPEC_VERSION
public static final java.lang.String VK_NV_COVERAGE_REDUCTION_MODE_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV
VkStructureType.
public static final int VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV
VkStructureType.
public static final int VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV
VkStructureType.
public static final int VK_COVERAGE_REDUCTION_MODE_MERGE_NV
COVERAGE_REDUCTION_MODE_MERGE_NV: In this mode, there is an implementation-dependent association of each raster sample to a color sample. The reduced color sample mask is computed such that the bit for each color sample is 1 if any of the associated bits in the fragment’s coverage is on, and 0 otherwise.COVERAGE_REDUCTION_MODE_TRUNCATE_NV: In this mode, only the first M raster samples are associated with the color samples such that raster sample i maps to color sample i, where M is the number of color samples.VkFramebufferMixedSamplesCombinationNV, VkPipelineCoverageReductionStateCreateInfoNV
public static final int VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV
COVERAGE_REDUCTION_MODE_MERGE_NV: In this mode, there is an implementation-dependent association of each raster sample to a color sample. The reduced color sample mask is computed such that the bit for each color sample is 1 if any of the associated bits in the fragment’s coverage is on, and 0 otherwise.COVERAGE_REDUCTION_MODE_TRUNCATE_NV: In this mode, only the first M raster samples are associated with the color samples such that raster sample i maps to color sample i, where M is the number of color samples.VkFramebufferMixedSamplesCombinationNV, VkPipelineCoverageReductionStateCreateInfoNV
public static int nvkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long pCombinationCount,
long pCombinations)
GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNVpCombinationCount - a pointer to an integer related to the number of combinations available or queried, as described below.public static int vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
java.nio.IntBuffer pCombinationCount,
@Nullable
VkFramebufferMixedSamplesCombinationNV.Buffer pCombinations)
To query the set of mixed sample combinations of coverage reduction mode, rasterization samples and color, depth, stencil attachment sample counts that are supported by a physical device, call:
VkResult vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(
VkPhysicalDevice physicalDevice,
uint32_t* pCombinationCount,
VkFramebufferMixedSamplesCombinationNV* pCombinations);
If pCombinations is NULL, then the number of supported combinations for the given physicalDevice is returned in pCombinationCount. Otherwise, pCombinationCount must point to a variable set by the user to the number of elements in the pCombinations array, and on return the variable is overwritten with the number of values actually written to pCombinations. If the value of pCombinationCount is less than the number of combinations supported for the given physicalDevice, at most pCombinationCount values will be written pCombinations and INCOMPLETE will be returned instead of SUCCESS to indicate that not all the supported values were returned.
physicalDevice must be a valid VkPhysicalDevice handlepCombinationCount must be a valid pointer to a uint32_t valuepCombinationCount is not 0, and pCombinations is not NULL, pCombinations must be a valid pointer to an array of pCombinationCount VkFramebufferMixedSamplesCombinationNV structuresphysicalDevice - the physical device from which to query the set of combinations.pCombinationCount - a pointer to an integer related to the number of combinations available or queried, as described below.pCombinations - either NULL or a pointer to an array of VkFramebufferMixedSamplesCombinationNV values, indicating the supported combinations of coverage reduction mode, rasterization samples, and color, depth, stencil attachment sample counts.public static int vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int[] pCombinationCount,
@Nullable
VkFramebufferMixedSamplesCombinationNV.Buffer pCombinations)
GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNVCopyright LWJGL. All Rights Reserved. License terms.