HLSL: Correct line numbers for function definitions.

This commit is contained in:
John Kessenich
2016-09-02 19:05:24 -06:00
parent 4bf7155051
commit 1a4b775cd5
98 changed files with 421 additions and 420 deletions

View File

@@ -2,7 +2,7 @@ hlsl.intrinsics.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:88 Function Definition: PixelShaderFunctionS(f1;f1;f1;u1;u1; (global float)
0:17 Function Definition: PixelShaderFunctionS(f1;f1;f1;u1;u1; (global float)
0:17 Function Parameters:
0:17 'inF0' (in float)
0:17 'inF1' (in float)
@@ -339,7 +339,7 @@ gl_FragCoord origin is upper left
0:85 Branch: Return with expression
0:85 Constant:
0:85 0.000000
0:94 Function Definition: PixelShaderFunction1(vf1;vf1;vf1; (global 1-component vector of float)
0:89 Function Definition: PixelShaderFunction1(vf1;vf1;vf1; (global 1-component vector of float)
0:89 Function Parameters:
0:89 'inF0' (in 1-component vector of float)
0:89 'inF1' (in 1-component vector of float)
@@ -348,7 +348,7 @@ gl_FragCoord origin is upper left
0:91 Branch: Return with expression
0:91 Constant:
0:91 0.000000
0:177 Function Definition: PixelShaderFunction2(vf2;vf2;vf2;vu2;vu2; (global 2-component vector of float)
0:95 Function Definition: PixelShaderFunction2(vf2;vf2;vf2;vu2;vu2; (global 2-component vector of float)
0:95 Function Parameters:
0:95 'inF0' (in 2-component vector of float)
0:95 'inF1' (in 2-component vector of float)
@@ -733,7 +733,7 @@ gl_FragCoord origin is upper left
0:? Constant:
0:? 1.000000
0:? 2.000000
0:259 Function Definition: PixelShaderFunction3(vf3;vf3;vf3;vu3;vu3; (global 3-component vector of float)
0:178 Function Definition: PixelShaderFunction3(vf3;vf3;vf3;vu3;vu3; (global 3-component vector of float)
0:178 Function Parameters:
0:178 'inF0' (in 3-component vector of float)
0:178 'inF1' (in 3-component vector of float)
@@ -1138,7 +1138,7 @@ gl_FragCoord origin is upper left
0:? 1.000000
0:? 2.000000
0:? 3.000000
0:400 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vu4;vu4; (global 4-component vector of float)
0:260 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vu4;vu4; (global 4-component vector of float)
0:260 Function Parameters:
0:260 'inF0' (layout(location=0 ) in 4-component vector of float)
0:260 'inF1' (layout(location=1 ) in 4-component vector of float)
@@ -1561,7 +1561,7 @@ gl_FragCoord origin is upper left
0:? 3.000000
0:? 4.000000
0:337 Branch: Return
0:409 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:401 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:401 Function Parameters:
0:401 'inF0' (in 2X2 matrix of float)
0:401 'inF1' (in 2X2 matrix of float)
@@ -1849,7 +1849,7 @@ gl_FragCoord origin is upper left
0:? 2.000000
0:? 2.000000
0:? 2.000000
0:418 Function Definition: PixelShaderFunction3x3(mf33;mf33;mf33; (global 3X3 matrix of float)
0:410 Function Definition: PixelShaderFunction3x3(mf33;mf33;mf33; (global 3X3 matrix of float)
0:410 Function Parameters:
0:410 'inF0' (in 3X3 matrix of float)
0:410 'inF1' (in 3X3 matrix of float)
@@ -2147,7 +2147,7 @@ gl_FragCoord origin is upper left
0:? 3.000000
0:? 3.000000
0:? 3.000000
0:439 Function Definition: PixelShaderFunction4x4(mf44;mf44;mf44; (global 4X4 matrix of float)
0:419 Function Definition: PixelShaderFunction4x4(mf44;mf44;mf44; (global 4X4 matrix of float)
0:419 Function Parameters:
0:419 'inF0' (in 4X4 matrix of float)
0:419 'inF1' (in 4X4 matrix of float)
@@ -2459,7 +2459,7 @@ gl_FragCoord origin is upper left
0:? 4.000000
0:? 4.000000
0:? 4.000000
0:446 Function Definition: TestGenMul2(f1;f1;vf2;vf2;mf22;mf22; (global void)
0:442 Function Definition: TestGenMul2(f1;f1;vf2;vf2;mf22;mf22; (global void)
0:442 Function Parameters:
0:442 'inF0' (in float)
0:442 'inF1' (in float)
@@ -2522,7 +2522,7 @@ gl_FragCoord origin is upper left
0:443 matrix-multiply (temp 2X2 matrix of float)
0:443 'inFM0' (in 2X2 matrix of float)
0:443 'inFM1' (in 2X2 matrix of float)
0:453 Function Definition: TestGenMul3(f1;f1;vf3;vf3;mf33;mf33; (global void)
0:449 Function Definition: TestGenMul3(f1;f1;vf3;vf3;mf33;mf33; (global void)
0:449 Function Parameters:
0:449 'inF0' (in float)
0:449 'inF1' (in float)
@@ -2585,7 +2585,7 @@ gl_FragCoord origin is upper left
0:450 matrix-multiply (temp 3X3 matrix of float)
0:450 'inFM0' (in 3X3 matrix of float)
0:450 'inFM1' (in 3X3 matrix of float)
0:461 Function Definition: TestGenMul4(f1;f1;vf4;vf4;mf44;mf44; (global void)
0:456 Function Definition: TestGenMul4(f1;f1;vf4;vf4;mf44;mf44; (global void)
0:456 Function Parameters:
0:456 'inF0' (in float)
0:456 'inF1' (in float)
@@ -2648,7 +2648,7 @@ gl_FragCoord origin is upper left
0:457 matrix-multiply (temp 4X4 matrix of float)
0:457 'inFM0' (in 4X4 matrix of float)
0:457 'inFM1' (in 4X4 matrix of float)
0:485 Function Definition: TestGenMulNxM(f1;f1;vf2;vf3;mf32;mf23;mf33;mf43;mf42; (global void)
0:466 Function Definition: TestGenMulNxM(f1;f1;vf2;vf3;mf32;mf23;mf33;mf43;mf42; (global void)
0:466 Function Parameters:
0:466 'inF0' (in float)
0:466 'inF1' (in float)
@@ -2783,7 +2783,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:88 Function Definition: PixelShaderFunctionS(f1;f1;f1;u1;u1; (global float)
0:17 Function Definition: PixelShaderFunctionS(f1;f1;f1;u1;u1; (global float)
0:17 Function Parameters:
0:17 'inF0' (in float)
0:17 'inF1' (in float)
@@ -3120,7 +3120,7 @@ gl_FragCoord origin is upper left
0:85 Branch: Return with expression
0:85 Constant:
0:85 0.000000
0:94 Function Definition: PixelShaderFunction1(vf1;vf1;vf1; (global 1-component vector of float)
0:89 Function Definition: PixelShaderFunction1(vf1;vf1;vf1; (global 1-component vector of float)
0:89 Function Parameters:
0:89 'inF0' (in 1-component vector of float)
0:89 'inF1' (in 1-component vector of float)
@@ -3129,7 +3129,7 @@ gl_FragCoord origin is upper left
0:91 Branch: Return with expression
0:91 Constant:
0:91 0.000000
0:177 Function Definition: PixelShaderFunction2(vf2;vf2;vf2;vu2;vu2; (global 2-component vector of float)
0:95 Function Definition: PixelShaderFunction2(vf2;vf2;vf2;vu2;vu2; (global 2-component vector of float)
0:95 Function Parameters:
0:95 'inF0' (in 2-component vector of float)
0:95 'inF1' (in 2-component vector of float)
@@ -3514,7 +3514,7 @@ gl_FragCoord origin is upper left
0:? Constant:
0:? 1.000000
0:? 2.000000
0:259 Function Definition: PixelShaderFunction3(vf3;vf3;vf3;vu3;vu3; (global 3-component vector of float)
0:178 Function Definition: PixelShaderFunction3(vf3;vf3;vf3;vu3;vu3; (global 3-component vector of float)
0:178 Function Parameters:
0:178 'inF0' (in 3-component vector of float)
0:178 'inF1' (in 3-component vector of float)
@@ -3919,7 +3919,7 @@ gl_FragCoord origin is upper left
0:? 1.000000
0:? 2.000000
0:? 3.000000
0:400 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vu4;vu4; (global 4-component vector of float)
0:260 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vu4;vu4; (global 4-component vector of float)
0:260 Function Parameters:
0:260 'inF0' (layout(location=0 ) in 4-component vector of float)
0:260 'inF1' (layout(location=1 ) in 4-component vector of float)
@@ -4342,7 +4342,7 @@ gl_FragCoord origin is upper left
0:? 3.000000
0:? 4.000000
0:337 Branch: Return
0:409 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:401 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:401 Function Parameters:
0:401 'inF0' (in 2X2 matrix of float)
0:401 'inF1' (in 2X2 matrix of float)
@@ -4630,7 +4630,7 @@ gl_FragCoord origin is upper left
0:? 2.000000
0:? 2.000000
0:? 2.000000
0:418 Function Definition: PixelShaderFunction3x3(mf33;mf33;mf33; (global 3X3 matrix of float)
0:410 Function Definition: PixelShaderFunction3x3(mf33;mf33;mf33; (global 3X3 matrix of float)
0:410 Function Parameters:
0:410 'inF0' (in 3X3 matrix of float)
0:410 'inF1' (in 3X3 matrix of float)
@@ -4928,7 +4928,7 @@ gl_FragCoord origin is upper left
0:? 3.000000
0:? 3.000000
0:? 3.000000
0:439 Function Definition: PixelShaderFunction4x4(mf44;mf44;mf44; (global 4X4 matrix of float)
0:419 Function Definition: PixelShaderFunction4x4(mf44;mf44;mf44; (global 4X4 matrix of float)
0:419 Function Parameters:
0:419 'inF0' (in 4X4 matrix of float)
0:419 'inF1' (in 4X4 matrix of float)
@@ -5240,7 +5240,7 @@ gl_FragCoord origin is upper left
0:? 4.000000
0:? 4.000000
0:? 4.000000
0:446 Function Definition: TestGenMul2(f1;f1;vf2;vf2;mf22;mf22; (global void)
0:442 Function Definition: TestGenMul2(f1;f1;vf2;vf2;mf22;mf22; (global void)
0:442 Function Parameters:
0:442 'inF0' (in float)
0:442 'inF1' (in float)
@@ -5303,7 +5303,7 @@ gl_FragCoord origin is upper left
0:443 matrix-multiply (temp 2X2 matrix of float)
0:443 'inFM0' (in 2X2 matrix of float)
0:443 'inFM1' (in 2X2 matrix of float)
0:453 Function Definition: TestGenMul3(f1;f1;vf3;vf3;mf33;mf33; (global void)
0:449 Function Definition: TestGenMul3(f1;f1;vf3;vf3;mf33;mf33; (global void)
0:449 Function Parameters:
0:449 'inF0' (in float)
0:449 'inF1' (in float)
@@ -5366,7 +5366,7 @@ gl_FragCoord origin is upper left
0:450 matrix-multiply (temp 3X3 matrix of float)
0:450 'inFM0' (in 3X3 matrix of float)
0:450 'inFM1' (in 3X3 matrix of float)
0:461 Function Definition: TestGenMul4(f1;f1;vf4;vf4;mf44;mf44; (global void)
0:456 Function Definition: TestGenMul4(f1;f1;vf4;vf4;mf44;mf44; (global void)
0:456 Function Parameters:
0:456 'inF0' (in float)
0:456 'inF1' (in float)
@@ -5429,7 +5429,7 @@ gl_FragCoord origin is upper left
0:457 matrix-multiply (temp 4X4 matrix of float)
0:457 'inFM0' (in 4X4 matrix of float)
0:457 'inFM1' (in 4X4 matrix of float)
0:485 Function Definition: TestGenMulNxM(f1;f1;vf2;vf3;mf32;mf23;mf33;mf43;mf42; (global void)
0:466 Function Definition: TestGenMulNxM(f1;f1;vf2;vf3;mf32;mf23;mf33;mf43;mf42; (global void)
0:466 Function Parameters:
0:466 'inF0' (in float)
0:466 'inF1' (in float)