powervr-graphics / Native_SDK

C++ cross-platform 3D graphics SDK. Includes demos & helper code (resource loading etc.) to speed up development of Vulkan, OpenGL ES 2.0 & 3.x applications
https://docs.imgtec.com/sdk-documentation/html/introduction.html
MIT License
702 stars 197 forks source link

Disable sampleShadingEnable for VulkanHelloAPI #49

Closed c0d1f1ed closed 4 years ago

c0d1f1ed commented 4 years ago

The Vulkan specification states that "If [the sampleRateShading feature] is not enabled, the sampleShadingEnable member of the VkPipelineMultisampleStateCreateInfo structure must be set to VK_FALSE".

Since this app doesn't use sample rate shading, this can be disabled so that it can run on Vulkan drivers that don't support this feature.