diff options
author | Jason Ekstrand <[email protected]> | 2019-05-17 13:04:24 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-05-17 20:33:57 +0000 |
commit | 1c92358bd89313b0cf7bf7b84992a28f11b2aa8f (patch) | |
tree | 23b4967a5f3b8899020308277ba1eebe836992f6 /src/mesa/drivers | |
parent | 8413fd136c5f82cf8742ea306e139ac5d7bc18f3 (diff) |
anv: Only consider minSampleShading when sampleShadingEnable is set
From the Vulkan 1.1.107 spec:
Sample shading is enabled for a graphics pipeline:
- If the interface of the fragment shader entry point of the
graphics pipeline includes an input variable decorated with
SampleId or SamplePosition. In this case minSampleShadingFactor
takes the value 1.0.
- Else if the sampleShadingEnable member of the
VkPipelineMultisampleStateCreateInfo structure specified when
creating the graphics pipeline is set to VK_TRUE. In this case
minSampleShadingFactor takes the value of
VkPipelineMultisampleStateCreateInfo::minSampleShading.
Otherwise, sample shading is considered disabled.
In other words, if sampleShadingEnable is set to VK_FALSE, we should
ignore minSampleShading.
Cc: [email protected]
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
0 files changed, 0 insertions, 0 deletions