mirror of
https://github.com/ScrelliCopter/NeHe-SDL_GPU.git
synced 2025-06-19 21:49:17 +10:00
Replace GLSL Vulkan shaders with HLSL compiled to SPIR-V by DXC
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user