On 17 September 2017 at 07:39, Ihsan Akmal ihsanapps@gmail.com wrote:
+typedef enum D3D11_CONSERVATIVE_RASTERIZATION_TIER {
- D3D11_CONSERVATIVE_RASTERIZATION_NOT_SUPPORTED = 0,
- D3D11_CONSERVATIVE_RASTERIZATION_TIER_1 = 1,
- D3D11_CONSERVATIVE_RASTERIZATION_TIER_2 = 2,
- D3D11_CONSERVATIVE_RASTERIZATION_TIER_3 = 3,
+} D3D11_CONSERVATIVE_RASTERIZATION_TIER;
+typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS2 +{
- BOOL PSSpecifiedStencilRefSupported;
- BOOL TypedUAVLoadAdditionalFormats;
- BOOL ROVsSupported;
- D3D11_CONSERVATIVE_RASTERIZATION_TIER ConservativeRasterizationTier;
- D3D11_TILED_RESOURCES_TIER TiledResourcesTier;
- BOOL MapOnDefaultTextures;
- BOOL StandardSwizzle;
- BOOL UnifiedMemoryArchitecture;
+} D3D11_FEATURE_DATA_D3D11_OPTIONS2;
The formatting is inconsistent here.
+typedef enum D3D11_SHADER_CACHE_SUPPORT_FLAGS +{
- D3D11_SHADER_CACHE_SUPPORT_NONE = 0x0,
- D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_INPROC_CACHE = 0x1,
- D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_DISK_CACHE = 0x2,
+} D3D11_SHADER_CACHE_SUPPORT_FLAGS;
+typedef struct D3D11_FEATURE_DATA_SHADER_CACHE +{
- UINT SupportFlags;
+} D3D11_FEATURE_DATA_SHADER_CACHE;
Should "SupportFlags" be of type D3D11_SHADER_CACHE_SUPPORT_FLAGS?
Should "SupportFlags" be of type D3D11_SHADER_CACHE_SUPPORT_FLAGS?
Good catch. The microsoft's sdk idl used UINT type but the MSDN told otherwise Will fix other other problems to.
On 18 September 2017 at 10:46, Shinchiro Shinchiro ihsanapps@gmail.com wrote:
Should "SupportFlags" be of type D3D11_SHADER_CACHE_SUPPORT_FLAGS?
Good catch. The microsoft's sdk idl used UINT type but the MSDN told otherwise
My version of the SDK doesn't have D3D11_FEATURE_DATA_SHADER_CACHE yet, but if the SDK has the type as UINT we should probably follow that over MSDN. It would be good to make sure that's still the case in the latest version of the SDK though.
I'm using Windows 10 SDK 10.0.15063.0. I guess I'll stick with UINT type