KhronosGroup / OpenGL-Registry

OpenGL, OpenGL ES, and OpenGL ES-SC API and Extension Registry
677 stars 274 forks source link

Put some implementation dependent values of FSR under pipeline FSR instead of attachment FSR #600

Open PanGao-h opened 7 months ago

PanGao-h commented 7 months ago

In Vulkan, fragmentShadingRateNonTrivialCombinerOps must be VK_FALSE unless either the primitiveFragmentShadingRate or attachmentFragmentShadingRate feature is supported. But the table here is under shading_rate_attachment alone. It's a bit confusion. This MR tries to make the connection between Vulkan/OpenGL ES explicit.

PanGao-h commented 7 months ago

In a detailed check with Vulkan spec for Limite Requirements, move more items that are covered in feature pipelineFragmentShadingRate. For example:

Type Limit Feature
VkBool32 fragmentShadingRateWithShaderDepthStencilWrites pipelineFragmentShadingRate
VkBool32 fragmentShadingRateWithSampleMask pipelineFragmentShadingRate