X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2Fd3d10%2Ftri.fx;fp=apps%2Fd3d10%2Ftri.fx;h=c221f9d732a8e16056e3672f1bddabcc346eb717;hp=0000000000000000000000000000000000000000;hb=0e029cc72de2c8e57fed0ba4eb2c2a9cc4c7a0f4;hpb=31b8ad2c38b6697088ab30422bb32d703947c43a diff --git a/apps/d3d10/tri.fx b/apps/d3d10/tri.fx new file mode 100644 index 0000000..c221f9d --- /dev/null +++ b/apps/d3d10/tri.fx @@ -0,0 +1,15 @@ +struct VS_OUTPUT { + float4 Pos : SV_POSITION; + float4 Color : COLOR0; +}; + +VS_OUTPUT VS(float4 Pos : POSITION, float4 Color : COLOR) { + VS_OUTPUT Out; + Out.Pos = Pos; + Out.Color = Color; + return Out; +} + +float4 PS(VS_OUTPUT In) : SV_Target { + return In.Color; +}