diff --git a/include/directx/d3d12shader.h b/include/directx/d3d12shader.h index 65728dd..f0f1966 100644 --- a/include/directx/d3d12shader.h +++ b/include/directx/d3d12shader.h @@ -169,7 +169,7 @@ typedef struct _D3D12_SHADER_INPUT_BIND_DESC UINT uFlags; // Input binding flags D3D_RESOURCE_RETURN_TYPE ReturnType; // Return type (if texture) D3D_SRV_DIMENSION Dimension; // Dimension (if texture) - UINT NumSamples; // Number of samples (0 if not MS texture) + UINT NumSamples; // Number of samples or stride (stride if sbuffer, 0 if buffer, [0, 32] samples if MS texture otherwise UINT_MAX) UINT Space; // Register space UINT uID; // Range ID in the bytecode } D3D12_SHADER_INPUT_BIND_DESC;