• Jason Ekstrand's avatar
    anv: Only consider minSampleShading when sampleShadingEnable is set · 1c92358b
    Jason Ekstrand authored
    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: mesa-stable@lists.freedesktop.org
    Reviewed-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
    1c92358b
Name
Last commit
Last update
.gitlab-ci Loading commit data...
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
common.py Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...