[glsl][ir] Fix dpdyCoarse and Fine in ES.
Add the missing `break`s to get the correct derivative method names in
ES mode.
Bug: 42251044
Change-Id: Ic75939956d8ad8692740cc7431f3625d5b337353
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/204994
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
diff --git a/src/tint/lang/glsl/writer/printer/printer.cc b/src/tint/lang/glsl/writer/printer/printer.cc
index 374ad4c..25ce91a 100644
--- a/src/tint/lang/glsl/writer/printer/printer.cc
+++ b/src/tint/lang/glsl/writer/printer/printer.cc
@@ -1025,31 +1025,31 @@
out << "dFdx";
break;
case core::BuiltinFn::kDpdxCoarse:
- if (version_.IsES()) {
- out << "dFdx";
+ out << "dFdx";
+ if (version_.IsDesktop()) {
+ out << "Coarse";
}
- out << "dFdxCoarse";
break;
case core::BuiltinFn::kDpdxFine:
- if (version_.IsES()) {
- out << "dFdx";
+ out << "dFdx";
+ if (version_.IsDesktop()) {
+ out << "Fine";
}
- out << "dFdxFine";
break;
case core::BuiltinFn::kDpdy:
out << "dFdy";
break;
case core::BuiltinFn::kDpdyCoarse:
- if (version_.IsES()) {
- out << "dFdy";
+ out << "dFdy";
+ if (version_.IsDesktop()) {
+ out << "Coarse";
}
- out << "dFdyCoarse";
break;
case core::BuiltinFn::kDpdyFine:
- if (version_.IsES()) {
- out << "dFdy";
+ out << "dFdy";
+ if (version_.IsDesktop()) {
+ out << "Fine";
}
- out << "dFdyFine";
break;
case core::BuiltinFn::kFaceForward:
out << "faceforward";
diff --git a/test/tint/builtins/gen/literal/dpdxCoarse/029152.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxCoarse/029152.wgsl.expected.ir.glsl
index 81ecc3d..074b269 100644
--- a/test/tint/builtins/gen/literal/dpdxCoarse/029152.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxCoarse/029152.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,18 +5,9 @@
float prevent_dce;
float dpdxCoarse_029152() {
- float res = dFdxdFdxCoarse(1.0f);
+ float res = dFdx(1.0f);
return res;
}
void main() {
prevent_dce = dpdxCoarse_029152();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found
-ERROR: 0:8: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxCoarse/9581cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
index c95da68..d8bade6 100644
--- a/test/tint/builtins/gen/literal/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,19 +5,9 @@
vec2 prevent_dce;
vec2 dpdxCoarse_9581cf() {
- vec2 res = dFdxdFdxCoarse(vec2(1.0f));
+ vec2 res = dFdx(vec2(1.0f));
return res;
}
void main() {
prevent_dce = dpdxCoarse_9581cf();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxCoarse/c28641.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxCoarse/c28641.wgsl.expected.ir.glsl
index 45cb5b3..37c13a0 100644
--- a/test/tint/builtins/gen/literal/dpdxCoarse/c28641.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxCoarse/c28641.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,19 +5,9 @@
vec4 prevent_dce;
vec4 dpdxCoarse_c28641() {
- vec4 res = dFdxdFdxCoarse(vec4(1.0f));
+ vec4 res = dFdx(vec4(1.0f));
return res;
}
void main() {
prevent_dce = dpdxCoarse_c28641();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
index 1f9ed68..f92c6d9 100644
--- a/test/tint/builtins/gen/literal/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,19 +5,9 @@
vec3 prevent_dce;
vec3 dpdxCoarse_f64d7b() {
- vec3 res = dFdxdFdxCoarse(vec3(1.0f));
+ vec3 res = dFdx(vec3(1.0f));
return res;
}
void main() {
prevent_dce = dpdxCoarse_f64d7b();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxFine/8c5069.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxFine/8c5069.wgsl.expected.ir.glsl
index 3b49da5..e37c9d0 100644
--- a/test/tint/builtins/gen/literal/dpdxFine/8c5069.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxFine/8c5069.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,19 +5,9 @@
vec4 prevent_dce;
vec4 dpdxFine_8c5069() {
- vec4 res = dFdxdFdxFine(vec4(1.0f));
+ vec4 res = dFdx(vec4(1.0f));
return res;
}
void main() {
prevent_dce = dpdxFine_8c5069();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxFine/9631de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxFine/9631de.wgsl.expected.ir.glsl
index 49ca9f7..1898294 100644
--- a/test/tint/builtins/gen/literal/dpdxFine/9631de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxFine/9631de.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,19 +5,9 @@
vec2 prevent_dce;
vec2 dpdxFine_9631de() {
- vec2 res = dFdxdFdxFine(vec2(1.0f));
+ vec2 res = dFdx(vec2(1.0f));
return res;
}
void main() {
prevent_dce = dpdxFine_9631de();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxFine/f401a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxFine/f401a2.wgsl.expected.ir.glsl
index 7c86dce..b28789a 100644
--- a/test/tint/builtins/gen/literal/dpdxFine/f401a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxFine/f401a2.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,18 +5,9 @@
float prevent_dce;
float dpdxFine_f401a2() {
- float res = dFdxdFdxFine(1.0f);
+ float res = dFdx(1.0f);
return res;
}
void main() {
prevent_dce = dpdxFine_f401a2();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found
-ERROR: 0:8: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxFine/f92fb6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxFine/f92fb6.wgsl.expected.ir.glsl
index 87c1f96..b480f0b 100644
--- a/test/tint/builtins/gen/literal/dpdxFine/f92fb6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxFine/f92fb6.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,19 +5,9 @@
vec3 prevent_dce;
vec3 dpdxFine_f92fb6() {
- vec3 res = dFdxdFdxFine(vec3(1.0f));
+ vec3 res = dFdx(vec3(1.0f));
return res;
}
void main() {
prevent_dce = dpdxFine_f92fb6();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
index 58268ca..143bbce 100644
--- a/test/tint/builtins/gen/literal/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,19 +5,9 @@
vec2 prevent_dce;
vec2 dpdyCoarse_3e1ab4() {
- vec2 res = dFdydFdyCoarse(vec2(1.0f));
+ vec2 res = dFdy(vec2(1.0f));
return res;
}
void main() {
prevent_dce = dpdyCoarse_3e1ab4();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyCoarse/445d24.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyCoarse/445d24.wgsl.expected.ir.glsl
index a3f2f75..f1a6bef 100644
--- a/test/tint/builtins/gen/literal/dpdyCoarse/445d24.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyCoarse/445d24.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,19 +5,9 @@
vec4 prevent_dce;
vec4 dpdyCoarse_445d24() {
- vec4 res = dFdydFdyCoarse(vec4(1.0f));
+ vec4 res = dFdy(vec4(1.0f));
return res;
}
void main() {
prevent_dce = dpdyCoarse_445d24();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyCoarse/870a7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
index 86a14c6..578d8e6 100644
--- a/test/tint/builtins/gen/literal/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,18 +5,9 @@
float prevent_dce;
float dpdyCoarse_870a7e() {
- float res = dFdydFdyCoarse(1.0f);
+ float res = dFdy(1.0f);
return res;
}
void main() {
prevent_dce = dpdyCoarse_870a7e();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found
-ERROR: 0:8: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyCoarse/ae1873.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
index 86766ea..77a677e 100644
--- a/test/tint/builtins/gen/literal/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,19 +5,9 @@
vec3 prevent_dce;
vec3 dpdyCoarse_ae1873() {
- vec3 res = dFdydFdyCoarse(vec3(1.0f));
+ vec3 res = dFdy(vec3(1.0f));
return res;
}
void main() {
prevent_dce = dpdyCoarse_ae1873();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyFine/1fb7ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
index e961bee..52d77aa 100644
--- a/test/tint/builtins/gen/literal/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,19 +5,9 @@
vec3 prevent_dce;
vec3 dpdyFine_1fb7ab() {
- vec3 res = dFdydFdyFine(vec3(1.0f));
+ vec3 res = dFdy(vec3(1.0f));
return res;
}
void main() {
prevent_dce = dpdyFine_1fb7ab();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyFine/6eb673.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyFine/6eb673.wgsl.expected.ir.glsl
index 8f9c54c..9428fe2 100644
--- a/test/tint/builtins/gen/literal/dpdyFine/6eb673.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyFine/6eb673.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,18 +5,9 @@
float prevent_dce;
float dpdyFine_6eb673() {
- float res = dFdydFdyFine(1.0f);
+ float res = dFdy(1.0f);
return res;
}
void main() {
prevent_dce = dpdyFine_6eb673();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found
-ERROR: 0:8: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyFine/d0a648.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyFine/d0a648.wgsl.expected.ir.glsl
index f135de9..d0044d4 100644
--- a/test/tint/builtins/gen/literal/dpdyFine/d0a648.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyFine/d0a648.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,19 +5,9 @@
vec4 prevent_dce;
vec4 dpdyFine_d0a648() {
- vec4 res = dFdydFdyFine(vec4(1.0f));
+ vec4 res = dFdy(vec4(1.0f));
return res;
}
void main() {
prevent_dce = dpdyFine_d0a648();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyFine/df33aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyFine/df33aa.wgsl.expected.ir.glsl
index 36f9d17..faa7912 100644
--- a/test/tint/builtins/gen/literal/dpdyFine/df33aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyFine/df33aa.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -7,19 +5,9 @@
vec2 prevent_dce;
vec2 dpdyFine_df33aa() {
- vec2 res = dFdydFdyFine(vec2(1.0f));
+ vec2 res = dFdy(vec2(1.0f));
return res;
}
void main() {
prevent_dce = dpdyFine_df33aa();
}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxCoarse/029152.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxCoarse/029152.wgsl.expected.ir.glsl
index e0da2ca..2623f79 100644
--- a/test/tint/builtins/gen/var/dpdxCoarse/029152.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxCoarse/029152.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,18 +6,9 @@
float prevent_dce;
float dpdxCoarse_029152() {
float arg_0 = 1.0f;
- float res = dFdxdFdxCoarse(arg_0);
+ float res = dFdx(arg_0);
return res;
}
void main() {
prevent_dce = dpdxCoarse_029152();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdxdFdxCoarse' : no matching overloaded function found
-ERROR: 0:9: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxCoarse/9581cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
index 81d34c5..3e98291 100644
--- a/test/tint/builtins/gen/var/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,19 +6,9 @@
vec2 prevent_dce;
vec2 dpdxCoarse_9581cf() {
vec2 arg_0 = vec2(1.0f);
- vec2 res = dFdxdFdxCoarse(arg_0);
+ vec2 res = dFdx(arg_0);
return res;
}
void main() {
prevent_dce = dpdxCoarse_9581cf();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdxdFdxCoarse' : no matching overloaded function found
-ERROR: 0:9: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of float'
-ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxCoarse/c28641.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxCoarse/c28641.wgsl.expected.ir.glsl
index 42a9966..3a074f1 100644
--- a/test/tint/builtins/gen/var/dpdxCoarse/c28641.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxCoarse/c28641.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,19 +6,9 @@
vec4 prevent_dce;
vec4 dpdxCoarse_c28641() {
vec4 arg_0 = vec4(1.0f);
- vec4 res = dFdxdFdxCoarse(arg_0);
+ vec4 res = dFdx(arg_0);
return res;
}
void main() {
prevent_dce = dpdxCoarse_c28641();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdxdFdxCoarse' : no matching overloaded function found
-ERROR: 0:9: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of float'
-ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
index 4fc2502..4e20fdd 100644
--- a/test/tint/builtins/gen/var/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,19 +6,9 @@
vec3 prevent_dce;
vec3 dpdxCoarse_f64d7b() {
vec3 arg_0 = vec3(1.0f);
- vec3 res = dFdxdFdxCoarse(arg_0);
+ vec3 res = dFdx(arg_0);
return res;
}
void main() {
prevent_dce = dpdxCoarse_f64d7b();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdxdFdxCoarse' : no matching overloaded function found
-ERROR: 0:9: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of float'
-ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxFine/8c5069.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxFine/8c5069.wgsl.expected.ir.glsl
index 286d87f..e745b62 100644
--- a/test/tint/builtins/gen/var/dpdxFine/8c5069.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxFine/8c5069.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,19 +6,9 @@
vec4 prevent_dce;
vec4 dpdxFine_8c5069() {
vec4 arg_0 = vec4(1.0f);
- vec4 res = dFdxdFdxFine(arg_0);
+ vec4 res = dFdx(arg_0);
return res;
}
void main() {
prevent_dce = dpdxFine_8c5069();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdxdFdxFine' : no matching overloaded function found
-ERROR: 0:9: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of float'
-ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxFine/9631de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxFine/9631de.wgsl.expected.ir.glsl
index cd417ba..0b0f007 100644
--- a/test/tint/builtins/gen/var/dpdxFine/9631de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxFine/9631de.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,19 +6,9 @@
vec2 prevent_dce;
vec2 dpdxFine_9631de() {
vec2 arg_0 = vec2(1.0f);
- vec2 res = dFdxdFdxFine(arg_0);
+ vec2 res = dFdx(arg_0);
return res;
}
void main() {
prevent_dce = dpdxFine_9631de();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdxdFdxFine' : no matching overloaded function found
-ERROR: 0:9: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of float'
-ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxFine/f401a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxFine/f401a2.wgsl.expected.ir.glsl
index 5e9484c..a102f79 100644
--- a/test/tint/builtins/gen/var/dpdxFine/f401a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxFine/f401a2.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,18 +6,9 @@
float prevent_dce;
float dpdxFine_f401a2() {
float arg_0 = 1.0f;
- float res = dFdxdFdxFine(arg_0);
+ float res = dFdx(arg_0);
return res;
}
void main() {
prevent_dce = dpdxFine_f401a2();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdxdFdxFine' : no matching overloaded function found
-ERROR: 0:9: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxFine/f92fb6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxFine/f92fb6.wgsl.expected.ir.glsl
index ba708a2..720edcc 100644
--- a/test/tint/builtins/gen/var/dpdxFine/f92fb6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxFine/f92fb6.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,19 +6,9 @@
vec3 prevent_dce;
vec3 dpdxFine_f92fb6() {
vec3 arg_0 = vec3(1.0f);
- vec3 res = dFdxdFdxFine(arg_0);
+ vec3 res = dFdx(arg_0);
return res;
}
void main() {
prevent_dce = dpdxFine_f92fb6();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdxdFdxFine' : no matching overloaded function found
-ERROR: 0:9: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of float'
-ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
index 43ea054..e396067 100644
--- a/test/tint/builtins/gen/var/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,19 +6,9 @@
vec2 prevent_dce;
vec2 dpdyCoarse_3e1ab4() {
vec2 arg_0 = vec2(1.0f);
- vec2 res = dFdydFdyCoarse(arg_0);
+ vec2 res = dFdy(arg_0);
return res;
}
void main() {
prevent_dce = dpdyCoarse_3e1ab4();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdydFdyCoarse' : no matching overloaded function found
-ERROR: 0:9: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of float'
-ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyCoarse/445d24.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyCoarse/445d24.wgsl.expected.ir.glsl
index c64d911..b6cf3dd 100644
--- a/test/tint/builtins/gen/var/dpdyCoarse/445d24.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyCoarse/445d24.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,19 +6,9 @@
vec4 prevent_dce;
vec4 dpdyCoarse_445d24() {
vec4 arg_0 = vec4(1.0f);
- vec4 res = dFdydFdyCoarse(arg_0);
+ vec4 res = dFdy(arg_0);
return res;
}
void main() {
prevent_dce = dpdyCoarse_445d24();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdydFdyCoarse' : no matching overloaded function found
-ERROR: 0:9: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of float'
-ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyCoarse/870a7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
index a1b7c31..8ca9471 100644
--- a/test/tint/builtins/gen/var/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,18 +6,9 @@
float prevent_dce;
float dpdyCoarse_870a7e() {
float arg_0 = 1.0f;
- float res = dFdydFdyCoarse(arg_0);
+ float res = dFdy(arg_0);
return res;
}
void main() {
prevent_dce = dpdyCoarse_870a7e();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdydFdyCoarse' : no matching overloaded function found
-ERROR: 0:9: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyCoarse/ae1873.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
index 5e7759e..61699bb 100644
--- a/test/tint/builtins/gen/var/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,19 +6,9 @@
vec3 prevent_dce;
vec3 dpdyCoarse_ae1873() {
vec3 arg_0 = vec3(1.0f);
- vec3 res = dFdydFdyCoarse(arg_0);
+ vec3 res = dFdy(arg_0);
return res;
}
void main() {
prevent_dce = dpdyCoarse_ae1873();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdydFdyCoarse' : no matching overloaded function found
-ERROR: 0:9: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of float'
-ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyFine/1fb7ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
index 4b76706..7fecc72 100644
--- a/test/tint/builtins/gen/var/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,19 +6,9 @@
vec3 prevent_dce;
vec3 dpdyFine_1fb7ab() {
vec3 arg_0 = vec3(1.0f);
- vec3 res = dFdydFdyFine(arg_0);
+ vec3 res = dFdy(arg_0);
return res;
}
void main() {
prevent_dce = dpdyFine_1fb7ab();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdydFdyFine' : no matching overloaded function found
-ERROR: 0:9: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of float'
-ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyFine/6eb673.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyFine/6eb673.wgsl.expected.ir.glsl
index d4db1b0..4cb6b10 100644
--- a/test/tint/builtins/gen/var/dpdyFine/6eb673.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyFine/6eb673.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,18 +6,9 @@
float prevent_dce;
float dpdyFine_6eb673() {
float arg_0 = 1.0f;
- float res = dFdydFdyFine(arg_0);
+ float res = dFdy(arg_0);
return res;
}
void main() {
prevent_dce = dpdyFine_6eb673();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdydFdyFine' : no matching overloaded function found
-ERROR: 0:9: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyFine/d0a648.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyFine/d0a648.wgsl.expected.ir.glsl
index 627e86c..a030609 100644
--- a/test/tint/builtins/gen/var/dpdyFine/d0a648.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyFine/d0a648.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,19 +6,9 @@
vec4 prevent_dce;
vec4 dpdyFine_d0a648() {
vec4 arg_0 = vec4(1.0f);
- vec4 res = dFdydFdyFine(arg_0);
+ vec4 res = dFdy(arg_0);
return res;
}
void main() {
prevent_dce = dpdyFine_d0a648();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdydFdyFine' : no matching overloaded function found
-ERROR: 0:9: '=' : cannot convert from ' const float' to ' temp highp 4-component vector of float'
-ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyFine/df33aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyFine/df33aa.wgsl.expected.ir.glsl
index a75af16..1a534df 100644
--- a/test/tint/builtins/gen/var/dpdyFine/df33aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyFine/df33aa.wgsl.expected.ir.glsl
@@ -1,5 +1,3 @@
-SKIP: FAILED
-
#version 310 es
precision highp float;
precision highp int;
@@ -8,19 +6,9 @@
vec2 prevent_dce;
vec2 dpdyFine_df33aa() {
vec2 arg_0 = vec2(1.0f);
- vec2 res = dFdydFdyFine(arg_0);
+ vec2 res = dFdy(arg_0);
return res;
}
void main() {
prevent_dce = dpdyFine_df33aa();
}
-error: Error parsing GLSL shader:
-ERROR: 0:9: 'dFdydFdyFine' : no matching overloaded function found
-ERROR: 0:9: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of float'
-ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_10.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_10.spvasm.expected.ir.glsl
deleted file mode 100644
index a549974..0000000
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_10.spvasm.expected.ir.glsl
+++ /dev/null
@@ -1,24 +0,0 @@
-SKIP: FAILED
-
-#version 310 es
-precision highp float;
-precision highp int;
-
-
-void main_1() {
- vec2 x_1 = vec2(50.0f, 60.0f);
- vec2 x_2 = dFdxdFdxFine(x_1);
-}
-void main() {
- main_1();
-}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_11.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_11.spvasm.expected.ir.glsl
deleted file mode 100644
index fe6b6fc..0000000
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_11.spvasm.expected.ir.glsl
+++ /dev/null
@@ -1,24 +0,0 @@
-SKIP: FAILED
-
-#version 310 es
-precision highp float;
-precision highp int;
-
-
-void main_1() {
- vec3 x_1 = vec3(50.0f, 60.0f, 70.0f);
- vec3 x_2 = dFdxdFdxFine(x_1);
-}
-void main() {
- main_1();
-}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_12.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_12.spvasm.expected.ir.glsl
deleted file mode 100644
index 0ff5c74..0000000
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_12.spvasm.expected.ir.glsl
+++ /dev/null
@@ -1,23 +0,0 @@
-SKIP: FAILED
-
-#version 310 es
-precision highp float;
-precision highp int;
-
-
-void main_1() {
- float x_1 = 50.0f;
- float x_2 = dFdydFdyFine(x_1);
-}
-void main() {
- main_1();
-}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found
-ERROR: 0:8: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_13.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_13.spvasm.expected.ir.glsl
deleted file mode 100644
index 4ee1608..0000000
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_13.spvasm.expected.ir.glsl
+++ /dev/null
@@ -1,24 +0,0 @@
-SKIP: FAILED
-
-#version 310 es
-precision highp float;
-precision highp int;
-
-
-void main_1() {
- vec2 x_1 = vec2(50.0f, 60.0f);
- vec2 x_2 = dFdydFdyFine(x_1);
-}
-void main() {
- main_1();
-}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_14.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_14.spvasm.expected.ir.glsl
deleted file mode 100644
index ef664a3..0000000
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_14.spvasm.expected.ir.glsl
+++ /dev/null
@@ -1,24 +0,0 @@
-SKIP: FAILED
-
-#version 310 es
-precision highp float;
-precision highp int;
-
-
-void main_1() {
- vec3 x_1 = vec3(50.0f, 60.0f, 70.0f);
- vec3 x_2 = dFdydFdyFine(x_1);
-}
-void main() {
- main_1();
-}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_18.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_18.spvasm.expected.ir.glsl
deleted file mode 100644
index 4d7f553..0000000
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_18.spvasm.expected.ir.glsl
+++ /dev/null
@@ -1,23 +0,0 @@
-SKIP: FAILED
-
-#version 310 es
-precision highp float;
-precision highp int;
-
-
-void main_1() {
- float x_1 = 50.0f;
- float x_2 = dFdxdFdxCoarse(x_1);
-}
-void main() {
- main_1();
-}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found
-ERROR: 0:8: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_19.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_19.spvasm.expected.ir.glsl
deleted file mode 100644
index a749bbf..0000000
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_19.spvasm.expected.ir.glsl
+++ /dev/null
@@ -1,24 +0,0 @@
-SKIP: FAILED
-
-#version 310 es
-precision highp float;
-precision highp int;
-
-
-void main_1() {
- vec2 x_1 = vec2(50.0f, 60.0f);
- vec2 x_2 = dFdxdFdxCoarse(x_1);
-}
-void main() {
- main_1();
-}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_20.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_20.spvasm.expected.ir.glsl
deleted file mode 100644
index 2564369..0000000
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_20.spvasm.expected.ir.glsl
+++ /dev/null
@@ -1,24 +0,0 @@
-SKIP: FAILED
-
-#version 310 es
-precision highp float;
-precision highp int;
-
-
-void main_1() {
- vec3 x_1 = vec3(50.0f, 60.0f, 70.0f);
- vec3 x_2 = dFdxdFdxCoarse(x_1);
-}
-void main() {
- main_1();
-}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_21.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_21.spvasm.expected.ir.glsl
deleted file mode 100644
index 694b76c..0000000
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_21.spvasm.expected.ir.glsl
+++ /dev/null
@@ -1,23 +0,0 @@
-SKIP: FAILED
-
-#version 310 es
-precision highp float;
-precision highp int;
-
-
-void main_1() {
- float x_1 = 50.0f;
- float x_2 = dFdydFdyCoarse(x_1);
-}
-void main() {
- main_1();
-}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found
-ERROR: 0:8: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_22.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_22.spvasm.expected.ir.glsl
deleted file mode 100644
index bc28596..0000000
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_22.spvasm.expected.ir.glsl
+++ /dev/null
@@ -1,24 +0,0 @@
-SKIP: FAILED
-
-#version 310 es
-precision highp float;
-precision highp int;
-
-
-void main_1() {
- vec2 x_1 = vec2(50.0f, 60.0f);
- vec2 x_2 = dFdydFdyCoarse(x_1);
-}
-void main() {
- main_1();
-}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 2-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_23.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_23.spvasm.expected.ir.glsl
deleted file mode 100644
index 055d7ba..0000000
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_23.spvasm.expected.ir.glsl
+++ /dev/null
@@ -1,24 +0,0 @@
-SKIP: FAILED
-
-#version 310 es
-precision highp float;
-precision highp int;
-
-
-void main_1() {
- vec3 x_1 = vec3(50.0f, 60.0f, 70.0f);
- vec3 x_2 = dFdydFdyCoarse(x_1);
-}
-void main() {
- main_1();
-}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found
-ERROR: 0:8: '=' : cannot convert from ' const float' to ' temp highp 3-component vector of float'
-ERROR: 0:8: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_9.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_9.spvasm.expected.ir.glsl
deleted file mode 100644
index 72182c5..0000000
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_9.spvasm.expected.ir.glsl
+++ /dev/null
@@ -1,23 +0,0 @@
-SKIP: FAILED
-
-#version 310 es
-precision highp float;
-precision highp int;
-
-
-void main_1() {
- float x_1 = 50.0f;
- float x_2 = dFdxdFdxFine(x_1);
-}
-void main() {
- main_1();
-}
-error: Error parsing GLSL shader:
-ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found
-ERROR: 0:8: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1