Replace GLSL Vulkan shaders with HLSL compiled to SPIR-V by DXC

This commit is contained in:
2025-06-16 02:49:29 +10:00
parent 690899db9f
commit adcca4f724
24 changed files with 22 additions and 270 deletions

View File

@@ -25,7 +25,11 @@ Vertex2Pixel VertexMain(VertexInput input)
return output;
}
#ifdef VULKAN
half4 FragmentMain(Vertex2Pixel input) : SV_Target0
#else
half4 PixelMain(Vertex2Pixel input) : SV_Target0
#endif
{
return half4(1.0, 1.0, 1.0, 1.0);
}