diff options
| author | Yong He <yonghe@google.com> | 2019-01-28 10:53:09 -0800 |
|---|---|---|
| committer | Yong He <yonghe@google.com> | 2019-01-28 10:53:09 -0800 |
| commit | 3b9573af2c1c898eb8c5b98b6d29cd3889579a51 (patch) | |
| tree | 1d4d963e5d60c601af711066b5e40173550c82e9 | |
| parent | 9812963c52eb6312546f600804bb642a38dcfe64 (diff) | |
remove line directives in test files
| -rw-r--r-- | tests/cross-compile/glsl-empty-struct-param-field.slang.glsl | 3 | ||||
| -rw-r--r-- | tests/cross-compile/glsl-generic-in.slang.glsl | 12 |
2 files changed, 0 insertions, 15 deletions
diff --git a/tests/cross-compile/glsl-empty-struct-param-field.slang.glsl b/tests/cross-compile/glsl-empty-struct-param-field.slang.glsl index 0f5d53a2c..0ff895179 100644 --- a/tests/cross-compile/glsl-empty-struct-param-field.slang.glsl +++ b/tests/cross-compile/glsl-empty-struct-param-field.slang.glsl @@ -3,7 +3,6 @@ layout(row_major) uniform; layout(row_major) buffer; -#line 14 0 struct P_0 { vec4 param_0; @@ -17,8 +16,6 @@ layout(std140) uniform _S1 layout(location = 0) out vec4 _S2; - -#line 14 void main() { _S2 = pblock_0._data.param_0; diff --git a/tests/cross-compile/glsl-generic-in.slang.glsl b/tests/cross-compile/glsl-generic-in.slang.glsl index ee686b833..61ce0b71b 100644 --- a/tests/cross-compile/glsl-generic-in.slang.glsl +++ b/tests/cross-compile/glsl-generic-in.slang.glsl @@ -3,32 +3,23 @@ layout(row_major) uniform; layout(row_major) buffer; -#line 12 0 struct F_0 { vec4 v0_0; vec2 v1_0; }; - -#line 16 float F_get_0(F_0 this_0) { - -#line 16 return this_0.v0_0.x + this_0.v1_0.x; } float E_get_0() { - -#line 20 return 1.00000000000000000000; } - -#line 6 layout(location = 0) in vec3 _S1; @@ -55,15 +46,12 @@ void main() { GIn_0 _S4 = GIn_0(_S1, F_0(_S2, _S3)); -#line 30 VOut_0 vout_0; vec3 _S5 = _S4.p0_0; -#line 31 float _S6 = F_get_0(_S4.field_0); float _S7 = E_get_0(); -#line 31 vout_0.projPos_0 = vec4(_S5, _S6 + _S7); gl_Position = vout_0.projPos_0; return; |
