DiligentCore
DiligentCore copied to clipboard
Enable minimal support of VRS in D3D11 and GL
To make D3D11 and GL consistent with other backends, and to make Tutorial 24 run in D3D11 and GL modes with minimal configuration:
- Enable
SHADING_RATE_CAP_FLAG_PER_DRAWcapability with singleSHADING_RATE_1X1supported rate andSHADING_RATE_COMBINER_PASSTHROUGHcombiner - Use some default values for
MinTileSize/MaxTileSize(e.g., 16/16) - Create dummy shading rate texture
-
SetShadingRatewill be a noop.