• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1float VertexShaderFunctionS(float inF0, float inF1)
2{
3    frexp(inF0, inF1);
4    return 0.0;
5}
6
7float2 VertexShaderFunction2(float2 inF0, float2 inF1)
8{
9    frexp(inF0, inF1);
10    return float2(1,2);
11}
12
13float3 VertexShaderFunction3(float3 inF0, float3 inF1)
14{
15    frexp(inF0, inF1);
16    return float3(1,2,3);
17}
18
19float4 VertexShaderFunction4(float4 inF0, float4 inF1)
20{
21    frexp(inF0, inF1);
22    return float4(1,2,3,4);
23}
24
25// TODO: FXC doesn't accept this with (), but glslang doesn't accept it without.
26#define MATFNS() \
27    frexp(inF0, inF1);
28
29