mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-16 08:34:06 +00:00
GPU: The D3D12 blit shaders are DXIL
This commit is contained in:
committed by
Sam Lantinga
parent
300013cea7
commit
205c34c62a
@@ -8066,7 +8066,7 @@ static void D3D12_INTERNAL_InitBlitResources(
|
||||
shaderCreateInfo.code = (Uint8 *)D3D12_FullscreenVert;
|
||||
shaderCreateInfo.code_size = sizeof(D3D12_FullscreenVert);
|
||||
shaderCreateInfo.stage = SDL_GPU_SHADERSTAGE_VERTEX;
|
||||
shaderCreateInfo.format = SDL_GPU_SHADERFORMAT_DXBC;
|
||||
shaderCreateInfo.format = SDL_GPU_SHADERFORMAT_DXIL;
|
||||
|
||||
renderer->blitVertexShader = D3D12_CreateShader(
|
||||
(SDL_GPURenderer *)renderer,
|
||||
|
||||
Reference in New Issue
Block a user