Skip to content

Commit

Permalink
Fix broken 'fake' COMPUTE shader type enum injected value, again for …
Browse files Browse the repository at this point in the history
…dx12
  • Loading branch information
bartwe authored and thatcosmonaut committed Aug 12, 2024
1 parent c045997 commit de22d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpu/d3d12/SDL_gpu_d3d12.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
#define D3D12_FENCE_UNSIGNALED_VALUE 0
#define D3D12_FENCE_SIGNAL_VALUE 1

#define SDL_GPU_SHADERSTAGE_COMPUTE (SDL_GpuShaderStage)2
#define SDL_GPU_SHADERSTAGE_COMPUTE (SDL_GPU_SHADERSTAGE_FRAGMENT + 1)

#define EXPAND_ELEMENTS_IF_NEEDED(arr, initialValue, type) \
if (arr->count == arr->capacity) { \
Expand Down

0 comments on commit de22d0a

Please sign in to comment.