blob: 0a8418a221aec90a7e453c85b67fd133ca20fb39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// The entry point and target profile are needed to compile this example:
// -T ps_6_6 -E PSMain
struct PSInput
{
float4 position : SV_Position;
float4 color : COLOR0;
};
float4 PSMain(PSInput input) : SV_Target0
{
return input.color * input.color;
}
|