On Sat, 4 May 2019 at 15:31, Józef Kucia joseph.kucia@gmail.com wrote:
- if (*format_support & (D3D11_FORMAT_SUPPORT_TEXTURE1D
| D3D11_FORMAT_SUPPORT_TEXTURE2D | D3D11_FORMAT_SUPPORT_TEXTURE3D))
- {
*format_support |= D3D11_FORMAT_SUPPORT_SHADER_LOAD;
*format_support |= D3D11_FORMAT_SUPPORT_SHADER_SAMPLE;
*format_support |= D3D11_FORMAT_SUPPORT_SHADER_GATHER;
if (*format_support & D3D11_FORMAT_SUPPORT_DEPTH_STENCIL)
{
*format_support |= D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON;
*format_support |= D3D11_FORMAT_SUPPORT_SHADER_GATHER_COMPARISON;
}
- }
Should there be a dependency on the feature level?