From 82729d7e2723cdf00b4e22c633f5865fbdddac87 Mon Sep 17 00:00:00 2001 From: A1029384756 Date: Tue, 13 May 2025 15:40:40 -0400 Subject: [PATCH 1/6] [vendor:SDL/ttf] - GPUAtlasDrawSequence multipointer from pointer --- vendor/sdl3/ttf/sdl3_ttf.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/sdl3/ttf/sdl3_ttf.odin b/vendor/sdl3/ttf/sdl3_ttf.odin index c934ef408..08b7a4e1f 100644 --- a/vendor/sdl3/ttf/sdl3_ttf.odin +++ b/vendor/sdl3/ttf/sdl3_ttf.odin @@ -96,7 +96,7 @@ ImageType :: enum c.int { GPUAtlasDrawSequence :: struct { atlas_texture: ^SDL.GPUTexture, - xy, uv: ^SDL.FPoint, + xy, uv: [^]SDL.FPoint, num_vertices: c.int, indices: ^c.int, num_indices: c.int, From 5379c8c1ac1c2e839382e228944b11abdaffcdc7 Mon Sep 17 00:00:00 2001 From: A1029384756 Date: Tue, 13 May 2025 15:44:20 -0400 Subject: [PATCH 2/6] [vendor:sdl3/ttf] - changed indices to multipointer --- vendor/sdl3/ttf/sdl3_ttf.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/sdl3/ttf/sdl3_ttf.odin b/vendor/sdl3/ttf/sdl3_ttf.odin index 08b7a4e1f..d3b8d7508 100644 --- a/vendor/sdl3/ttf/sdl3_ttf.odin +++ b/vendor/sdl3/ttf/sdl3_ttf.odin @@ -98,7 +98,7 @@ GPUAtlasDrawSequence :: struct { atlas_texture: ^SDL.GPUTexture, xy, uv: [^]SDL.FPoint, num_vertices: c.int, - indices: ^c.int, + indices: [^]c.int, num_indices: c.int, image_type: ImageType, next: ^GPUAtlasDrawSequence, From 10a63ac49842a11793bd121e5443945eb427a4fc Mon Sep 17 00:00:00 2001 From: deadwanderer Date: Tue, 13 May 2025 23:45:58 -0400 Subject: [PATCH 3/6] Add more D3D12 FEATURE_DATA_OPTIONs --- vendor/directx/d3d12/d3d12.odin | 78 +++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/vendor/directx/d3d12/d3d12.odin b/vendor/directx/d3d12/d3d12.odin index a533ab7ae..4ee1dcfb3 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, From 30434552a7e4aaa73d64ac04a9402a407fd79f28 Mon Sep 17 00:00:00 2001 From: deadwanderer Date: Wed, 14 May 2025 07:55:23 -0400 Subject: [PATCH 4/6] Adjust whitespace errors --- vendor/directx/d3d12/d3d12.odin | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/vendor/directx/d3d12/d3d12.odin b/vendor/directx/d3d12/d3d12.odin index 4ee1dcfb3..52ee56a98 100644 --- a/vendor/directx/d3d12/d3d12.odin +++ b/vendor/directx/d3d12/d3d12.odin @@ -1205,28 +1205,28 @@ FEATURE_DATA_OPTIONS9 :: struct { WaveMMATier: WAVE_MMA_TIER, } -FEATURE_DATA_OPTIONS10 :: struct { +FEATURE_DATA_OPTIONS10 :: struct { VariableRateShadingSumCombinerSupported: BOOL, MeshShaderPerPrimitiveShadingRateSupported: BOOL, } -FEATURE_DATA_OPTIONS11 :: struct { +FEATURE_DATA_OPTIONS11 :: struct { AtomicInt64OnDescriptorHeapResourceSupported: BOOL, } -TRI_STATE :: enum i32 { - UNKNOWN = -1, - FALSE = 0, - TRUE = 1 +TRI_STATE :: enum i32 { + UNKNOWN = -1, + FALSE = 0, + TRUE = 1 } -FEATURE_DATA_OPTIONS12 :: struct { +FEATURE_DATA_OPTIONS12 :: struct { MSPrimitivesPipelineStatisticIncludesCulledPrimitives: TRI_STATE, EnhancedBarriersSupported: BOOL, RelaxedFormatCastingSupported: BOOL, } -FEATURE_DATA_OPTIONS13 :: struct { +FEATURE_DATA_OPTIONS13 :: struct { UnrestrictedBufferTextureCopyPitchSupported: BOOL, UnrestrictedVertexElementAlignmentSupported: BOOL, InvertedViewportHeightFlipsYSupported: BOOL, @@ -1235,32 +1235,32 @@ FEATURE_DATA_OPTIONS13 :: struct { AlphaBlendFactorSupported: BOOL, } -FEATURE_DATA_OPTIONS14 :: struct { +FEATURE_DATA_OPTIONS14 :: struct { AdvancedTextureOpsSupported: BOOL, WriteableMSAATexturesSupported: BOOL, IndependentFrontAndBackStencilRefMaskSupported: BOOL, } -FEATURE_DATA_OPTIONS15 :: struct { +FEATURE_DATA_OPTIONS15 :: struct { TriangleFanSupported: BOOL, DynamicIndexBufferStripCutSupported: BOOL, } -FEATURE_DATA_OPTIONS16 :: struct { +FEATURE_DATA_OPTIONS16 :: struct { DynamicDepthBiasSupported: BOOL, GPUUploadHeapSupported: BOOL, } -FEATURE_DATA_OPTIONS17 :: struct { +FEATURE_DATA_OPTIONS17 :: struct { NonNormalizedCoordinateSamplersSupported: BOOL, ManualWriteTrackingResourceSupported: BOOL, } -FEATURE_DATA_OPTIONS18 :: struct { +FEATURE_DATA_OPTIONS18 :: struct { RenderPassesValid: BOOL, } -FEATURE_DATA_OPTIONS19 :: struct { +FEATURE_DATA_OPTIONS19 :: struct { MismatchingOutputDimensionsSupported: BOOL, SupportedSampleCountsWithNoOutputs: u32, PointSamplingAddressesNeverRoundUp: BOOL, From 78f09929187d176b15aea89ff2e51cce9347f586 Mon Sep 17 00:00:00 2001 From: deadwanderer Date: Wed, 14 May 2025 08:53:53 -0400 Subject: [PATCH 5/6] Fix bad whitespacing --- vendor/directx/d3d12/d3d12.odin | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/vendor/directx/d3d12/d3d12.odin b/vendor/directx/d3d12/d3d12.odin index 52ee56a98..083fa47ba 100644 --- a/vendor/directx/d3d12/d3d12.odin +++ b/vendor/directx/d3d12/d3d12.odin @@ -837,16 +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, + 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 { From 30b67507787aaf8d3db5a2a1b216b01b30ccf091 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 14 May 2025 15:14:02 +0100 Subject: [PATCH 6/6] Add missing `,` --- vendor/directx/d3d12/d3d12.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/directx/d3d12/d3d12.odin b/vendor/directx/d3d12/d3d12.odin index 083fa47ba..eef93d13c 100644 --- a/vendor/directx/d3d12/d3d12.odin +++ b/vendor/directx/d3d12/d3d12.odin @@ -1217,7 +1217,7 @@ FEATURE_DATA_OPTIONS11 :: struct { TRI_STATE :: enum i32 { UNKNOWN = -1, FALSE = 0, - TRUE = 1 + TRUE = 1, } FEATURE_DATA_OPTIONS12 :: struct {