Finished first version of shader compiler. HLSL -> DXIL.
Submitting vertex and frag shader needed to display a triangle.
This commit is contained in:
4
Assets/source/SolidColor.frag.hlsl
Normal file
4
Assets/source/SolidColor.frag.hlsl
Normal file
@@ -0,0 +1,4 @@
|
||||
float4 main(float4 Color : TEXCOORD0) : SV_Target0
|
||||
{
|
||||
return Color;
|
||||
}
|
||||
Reference in New Issue
Block a user