aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-05-14 14:05:44 +0100
committerGitHub <noreply@github.com>2025-05-14 14:05:44 +0100
commitcf6d26953e49c45fb3d7596d26d1c92c83db9d8b (patch)
tree1c3ae4fc4333646fde4c9d4bb147b85c18e0ccc9
parent4b8707f71b541e05446c44d1b5d0bb0eab746110 (diff)
parent78f09929187d176b15aea89ff2e51cce9347f586 (diff)
Merge pull request #5161 from deadwanderer/master
[vendor:directx/d3d12] - Add more D3D12 FEATURE_DATA_OPTIONs
-rw-r--r--vendor/directx/d3d12/d3d12.odin78
1 files changed, 78 insertions, 0 deletions
diff --git a/vendor/directx/d3d12/d3d12.odin b/vendor/directx/d3d12/d3d12.odin
index a533ab7ae..083fa47ba 100644
--- a/vendor/directx/d3d12/d3d12.odin
+++ b/vendor/directx/d3d12/d3d12.odin
@@ -837,6 +837,16 @@ FEATURE :: enum i32 {
OPTIONS8 = 36,
OPTIONS9 = 37,
WAVE_MMA = 38,
+ OPTIONS10 = 39,
+ OPTIONS11 = 40,
+ OPTIONS12 = 41,
+ OPTIONS13 = 42,
+ OPTIONS14 = 43,
+ OPTIONS15 = 44,
+ OPTIONS16 = 45,
+ OPTIONS17 = 46,
+ OPTIONS18 = 47,
+ OPTIONS19 = 48,
}
SHADER_MIN_PRECISION_SUPPORT :: enum i32 {
@@ -1195,6 +1205,74 @@ FEATURE_DATA_OPTIONS9 :: struct {
WaveMMATier: WAVE_MMA_TIER,
}
+FEATURE_DATA_OPTIONS10 :: struct {
+ VariableRateShadingSumCombinerSupported: BOOL,
+ MeshShaderPerPrimitiveShadingRateSupported: BOOL,
+}
+
+FEATURE_DATA_OPTIONS11 :: struct {
+ AtomicInt64OnDescriptorHeapResourceSupported: BOOL,
+}
+
+TRI_STATE :: enum i32 {
+ UNKNOWN = -1,
+ FALSE = 0,
+ TRUE = 1
+}
+
+FEATURE_DATA_OPTIONS12 :: struct {
+ MSPrimitivesPipelineStatisticIncludesCulledPrimitives: TRI_STATE,
+ EnhancedBarriersSupported: BOOL,
+ RelaxedFormatCastingSupported: BOOL,
+}
+
+FEATURE_DATA_OPTIONS13 :: struct {
+ UnrestrictedBufferTextureCopyPitchSupported: BOOL,
+ UnrestrictedVertexElementAlignmentSupported: BOOL,
+ InvertedViewportHeightFlipsYSupported: BOOL,
+ InvertedViewportDepthFlipsZSupported: BOOL,
+ TextureCopyBetweenDimensionsSupported: BOOL,
+ AlphaBlendFactorSupported: BOOL,
+}
+
+FEATURE_DATA_OPTIONS14 :: struct {
+ AdvancedTextureOpsSupported: BOOL,
+ WriteableMSAATexturesSupported: BOOL,
+ IndependentFrontAndBackStencilRefMaskSupported: BOOL,
+}
+
+FEATURE_DATA_OPTIONS15 :: struct {
+ TriangleFanSupported: BOOL,
+ DynamicIndexBufferStripCutSupported: BOOL,
+}
+
+FEATURE_DATA_OPTIONS16 :: struct {
+ DynamicDepthBiasSupported: BOOL,
+ GPUUploadHeapSupported: BOOL,
+}
+
+FEATURE_DATA_OPTIONS17 :: struct {
+ NonNormalizedCoordinateSamplersSupported: BOOL,
+ ManualWriteTrackingResourceSupported: BOOL,
+}
+
+FEATURE_DATA_OPTIONS18 :: struct {
+ RenderPassesValid: BOOL,
+}
+
+FEATURE_DATA_OPTIONS19 :: struct {
+ MismatchingOutputDimensionsSupported: BOOL,
+ SupportedSampleCountsWithNoOutputs: u32,
+ PointSamplingAddressesNeverRoundUp: BOOL,
+ RasterizerDesc2Supported: BOOL,
+ NarrowQuadrilateralLinesSupported: BOOL,
+ AnisoFilterWithPointMipSupported: BOOL,
+ MaxSamplerDescriptorHeapSize: u32,
+ MaxSamplerDescriptorHeapSizeWithStaticSamplers: u32,
+ MaxViewDescriptorHeapSize: u32,
+ ComputeOnlyCustomHeapSupported: BOOL,
+}
+
WAVE_MMA_INPUT_DATATYPE :: enum i32 {
INVALID = 0,
BYTE = 1,