9 int sample(int x) { return x; } // HLSL allows this as an identifier as well.
11 float4 main() : SV_Target0
13 // HLSL allows this as an identifier as well.
14 // However, this is not true of other qualifier keywords such as "linear".
15 float4 sample = float4(3,4,5,6);
17 return sample.rgba; // 'sample' can participate in an expression.