
This fixes issue #487 and #480. It also correctly handles output parameters from the entry point.
13 lines
207 B
GLSL
13 lines
207 B
GLSL
struct OutParam {
|
|
float2 v;
|
|
int2 i;
|
|
};
|
|
|
|
float4 PixelShaderFunction(float4 input, out float4 out1, out OutParam out2) : COLOR0
|
|
{
|
|
out1 = input;
|
|
out2.v = 2.0;
|
|
out2.i = 3;
|
|
return out1;
|
|
}
|