[glsl] Mark more tests as desktop
Update more the test files to be desktop only.
Change-Id: I1ad92864b4a0ba817d8fb4398ecc32ffe6ffa471
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/209538
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl
index 04c5325..485765b 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_cube;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.glsl
index 6d7d84f..ed381f1 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -29,14 +27,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:12: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:12: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:12: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:10: '' : compilation terminated
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -65,13 +62,12 @@
}
error: Error parsing GLSL shader:
ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:10: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:10: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp samplerCubeShadow arg_0_arg_1;
@@ -104,9 +100,8 @@
}
error: Error parsing GLSL shader:
ERROR: 0:7: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:7: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:7: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.ir.glsl
index 7bc1fae..6091859 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.ir.glsl
@@ -1,6 +1,4 @@
-SKIP: FAILED
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -18,14 +16,7 @@
void main() {
v.tint_symbol = textureSampleLevel_1b0291();
}
-error: Error parsing GLSL shader:
-ERROR: 0:13: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:13: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -42,14 +33,7 @@
void main() {
v.tint_symbol = textureSampleLevel_1b0291();
}
-error: Error parsing GLSL shader:
-ERROR: 0:11: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:11: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
@@ -79,12 +63,3 @@
vertex_main_loc0_Output = v_1.prevent_dce;
gl_PointSize = 1.0f;
}
-error: Error parsing GLSL shader:
-ERROR: 0:14: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:14: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl
index 2e7ee3e..0a2c3cf 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.glsl
index 81d3ed5..a9bce84 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -29,14 +27,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:12: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:12: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:12: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:10: '' : compilation terminated
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -65,13 +62,12 @@
}
error: Error parsing GLSL shader:
ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:10: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:10: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
@@ -104,9 +100,8 @@
}
error: Error parsing GLSL shader:
ERROR: 0:7: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:7: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:7: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl
index 9ce5c7e..9fe0764 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl
@@ -1,6 +1,4 @@
-SKIP: FAILED
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -18,14 +16,7 @@
void main() {
v.tint_symbol = textureSampleLevel_1bf73e();
}
-error: Error parsing GLSL shader:
-ERROR: 0:13: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:13: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -42,14 +33,7 @@
void main() {
v.tint_symbol = textureSampleLevel_1bf73e();
}
-error: Error parsing GLSL shader:
-ERROR: 0:11: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:11: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
@@ -79,12 +63,3 @@
vertex_main_loc0_Output = v_1.prevent_dce;
gl_PointSize = 1.0f;
}
-error: Error parsing GLSL shader:
-ERROR: 0:14: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:14: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl
index 8a6d8ec..ba12dff 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.glsl
index 451d65b..02fbc72 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -29,14 +27,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:12: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:12: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:12: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:10: '' : compilation terminated
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -65,13 +62,12 @@
}
error: Error parsing GLSL shader:
ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:10: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:10: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
@@ -104,9 +100,8 @@
}
error: Error parsing GLSL shader:
ERROR: 0:7: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:7: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:7: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.ir.glsl
index 3dfed2d..916731e 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.ir.glsl
@@ -1,6 +1,4 @@
-SKIP: FAILED
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -18,14 +16,7 @@
void main() {
v.tint_symbol = textureSampleLevel_2974eb();
}
-error: Error parsing GLSL shader:
-ERROR: 0:13: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:13: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -42,14 +33,7 @@
void main() {
v.tint_symbol = textureSampleLevel_2974eb();
}
-error: Error parsing GLSL shader:
-ERROR: 0:11: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:11: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
@@ -79,12 +63,3 @@
vertex_main_loc0_Output = v_1.prevent_dce;
gl_PointSize = 1.0f;
}
-error: Error parsing GLSL shader:
-ERROR: 0:14: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:14: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl
index edfde62..129af96 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.glsl
index dd6c2ae..792bd89 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -29,13 +27,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:12: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:12: '' : compilation terminated
+ERROR: 0:10: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:10: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -69,7 +67,7 @@
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.ir.glsl
index bab9a36..5c10a03 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.ir.glsl
@@ -1,4 +1,4 @@
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -16,7 +16,7 @@
void main() {
v.tint_symbol = textureSampleLevel_36780e();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -33,7 +33,7 @@
void main() {
v.tint_symbol = textureSampleLevel_36780e();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl
index 48e0013..28085c3 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.glsl
index bb69b66..c3745f5 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -29,13 +27,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:12: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:12: '' : compilation terminated
+ERROR: 0:10: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:10: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -69,7 +67,7 @@
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl
index a189df2..77c1a4a 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl
@@ -1,4 +1,4 @@
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -16,7 +16,7 @@
void main() {
v.tint_symbol = textureSampleLevel_36f0d3();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -33,7 +33,7 @@
void main() {
v.tint_symbol = textureSampleLevel_36f0d3();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl
index 462c8c7..c5f46a6 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.glsl
index 147f9e8..1824e53 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -29,14 +27,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:12: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:12: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:12: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:10: '' : compilation terminated
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -65,13 +62,12 @@
}
error: Error parsing GLSL shader:
ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:10: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:10: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
@@ -104,9 +100,8 @@
}
error: Error parsing GLSL shader:
ERROR: 0:7: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:7: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:7: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.ir.glsl
index d04db87..7495f74 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.ir.glsl
@@ -1,6 +1,4 @@
-SKIP: FAILED
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -18,14 +16,7 @@
void main() {
v.tint_symbol = textureSampleLevel_3c3442();
}
-error: Error parsing GLSL shader:
-ERROR: 0:13: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:13: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -42,14 +33,7 @@
void main() {
v.tint_symbol = textureSampleLevel_3c3442();
}
-error: Error parsing GLSL shader:
-ERROR: 0:11: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:11: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
@@ -79,12 +63,3 @@
vertex_main_loc0_Output = v_1.prevent_dce;
gl_PointSize = 1.0f;
}
-error: Error parsing GLSL shader:
-ERROR: 0:14: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:14: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl
index f59a8b9..28fa14a 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.glsl
index f414ca0..8b0a6ca 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -29,14 +27,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:12: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:12: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:12: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:10: '' : compilation terminated
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -65,13 +62,12 @@
}
error: Error parsing GLSL shader:
ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:10: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:10: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
@@ -104,9 +100,8 @@
}
error: Error parsing GLSL shader:
ERROR: 0:7: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:7: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:7: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.ir.glsl
index 6f07331..8b6481e 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.ir.glsl
@@ -1,6 +1,4 @@
-SKIP: FAILED
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -18,14 +16,7 @@
void main() {
v.tint_symbol = textureSampleLevel_615583();
}
-error: Error parsing GLSL shader:
-ERROR: 0:13: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:13: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -42,14 +33,7 @@
void main() {
v.tint_symbol = textureSampleLevel_615583();
}
-error: Error parsing GLSL shader:
-ERROR: 0:11: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:11: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
@@ -79,12 +63,3 @@
vertex_main_loc0_Output = v_1.prevent_dce;
gl_PointSize = 1.0f;
}
-error: Error parsing GLSL shader:
-ERROR: 0:14: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:14: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl
index 58abc13b..2fd51618 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_cube;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.glsl
index 06cd003..d7a42f2 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -29,14 +27,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:12: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:12: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:12: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:10: '' : compilation terminated
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -65,13 +62,12 @@
}
error: Error parsing GLSL shader:
ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:10: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:10: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp samplerCubeShadow arg_0_arg_1;
@@ -104,9 +100,8 @@
}
error: Error parsing GLSL shader:
ERROR: 0:7: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:7: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:7: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl
index eeaf480..c8e3c5c 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl
@@ -1,6 +1,4 @@
-SKIP: FAILED
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -18,14 +16,7 @@
void main() {
v.tint_symbol = textureSampleLevel_ae92a2();
}
-error: Error parsing GLSL shader:
-ERROR: 0:13: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:13: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -42,14 +33,7 @@
void main() {
v.tint_symbol = textureSampleLevel_ae92a2();
}
-error: Error parsing GLSL shader:
-ERROR: 0:11: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:11: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
@@ -79,12 +63,3 @@
vertex_main_loc0_Output = v_1.prevent_dce;
gl_PointSize = 1.0f;
}
-error: Error parsing GLSL shader:
-ERROR: 0:14: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:14: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl
index 712e931..3b23475 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.glsl
index de2404a..7ee6fb0 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -29,13 +27,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:12: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:12: '' : compilation terminated
+ERROR: 0:10: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:10: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -69,7 +67,7 @@
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl
index 3aecd9b..5ceda59 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl
@@ -1,4 +1,4 @@
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -16,7 +16,7 @@
void main() {
v.tint_symbol = textureSampleLevel_cdfe0f();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -33,7 +33,7 @@
void main() {
v.tint_symbol = textureSampleLevel_cdfe0f();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl
index d54846a..edd6e90 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.glsl
index 42fe5ca..7cd48ad 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -29,13 +27,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:12: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:12: '' : compilation terminated
+ERROR: 0:10: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:10: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -69,7 +67,7 @@
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl
index 0beffea..bb75fd9 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl
@@ -1,4 +1,4 @@
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -16,7 +16,7 @@
void main() {
v.tint_symbol = textureSampleLevel_e6ce9e();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -33,7 +33,7 @@
void main() {
v.tint_symbol = textureSampleLevel_e6ce9e();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl
index 071c6e1..ed0aece 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_cube;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.glsl
index f7a4eb3..b2c429c 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -31,14 +29,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:14: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:14: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:14: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 0:12: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:12: '' : compilation terminated
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -69,13 +66,12 @@
}
error: Error parsing GLSL shader:
ERROR: 0:12: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:12: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:12: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp samplerCubeShadow arg_0_arg_1;
@@ -110,9 +106,8 @@
}
error: Error parsing GLSL shader:
ERROR: 0:9: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:9: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.ir.glsl
index 01830d8..b744da6 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.ir.glsl
@@ -1,6 +1,4 @@
-SKIP: FAILED
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -21,14 +19,7 @@
void main() {
v.tint_symbol = textureSampleLevel_1b0291();
}
-error: Error parsing GLSL shader:
-ERROR: 0:16: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:16: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -48,14 +39,7 @@
void main() {
v.tint_symbol = textureSampleLevel_1b0291();
}
-error: Error parsing GLSL shader:
-ERROR: 0:14: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:14: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
@@ -88,12 +72,3 @@
vertex_main_loc0_Output = v_2.prevent_dce;
gl_PointSize = 1.0f;
}
-error: Error parsing GLSL shader:
-ERROR: 0:17: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:17: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl
index 2f3cee4..e3c76df 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.glsl
index 2339bcf..f3de44e 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -32,14 +30,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:15: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:15: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:15: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 0:13: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:13: '' : compilation terminated
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -71,13 +68,12 @@
}
error: Error parsing GLSL shader:
ERROR: 0:13: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:13: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:13: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
@@ -113,9 +109,8 @@
}
error: Error parsing GLSL shader:
ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:10: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:10: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl
index 131a078..57c12f0 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl
@@ -1,6 +1,4 @@
-SKIP: FAILED
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -23,14 +21,7 @@
void main() {
v.tint_symbol = textureSampleLevel_1bf73e();
}
-error: Error parsing GLSL shader:
-ERROR: 0:18: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:18: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -52,14 +43,7 @@
void main() {
v.tint_symbol = textureSampleLevel_1bf73e();
}
-error: Error parsing GLSL shader:
-ERROR: 0:16: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:16: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
@@ -94,12 +78,3 @@
vertex_main_loc0_Output = v_3.prevent_dce;
gl_PointSize = 1.0f;
}
-error: Error parsing GLSL shader:
-ERROR: 0:19: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:19: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl
index 5d18160..fd1ca12 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.glsl
index b2f2d0c..bb76763 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -32,14 +30,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:15: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:15: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:15: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 0:13: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:13: '' : compilation terminated
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -71,13 +68,12 @@
}
error: Error parsing GLSL shader:
ERROR: 0:13: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:13: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:13: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
@@ -113,9 +109,8 @@
}
error: Error parsing GLSL shader:
ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:10: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:10: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.ir.glsl
index dbac72f..693d58c 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.ir.glsl
@@ -1,6 +1,4 @@
-SKIP: FAILED
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -23,14 +21,7 @@
void main() {
v.tint_symbol = textureSampleLevel_2974eb();
}
-error: Error parsing GLSL shader:
-ERROR: 0:18: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:18: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -52,14 +43,7 @@
void main() {
v.tint_symbol = textureSampleLevel_2974eb();
}
-error: Error parsing GLSL shader:
-ERROR: 0:16: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:16: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
@@ -94,12 +78,3 @@
vertex_main_loc0_Output = v_3.prevent_dce;
gl_PointSize = 1.0f;
}
-error: Error parsing GLSL shader:
-ERROR: 0:19: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:19: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl
index aad88a2..1404418 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.glsl
index 0631d5ae..38664d1 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -32,13 +30,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:15: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:15: '' : compilation terminated
+ERROR: 0:13: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:13: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -75,7 +73,7 @@
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.ir.glsl
index fdc0195..b5fd6f7 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.ir.glsl
@@ -1,4 +1,4 @@
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -21,7 +21,7 @@
void main() {
v.tint_symbol = textureSampleLevel_36780e();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -43,7 +43,7 @@
void main() {
v.tint_symbol = textureSampleLevel_36780e();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl
index ba28cb8..d085a51 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.glsl
index 12f8b83..00a6b82 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -32,13 +30,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:15: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:15: '' : compilation terminated
+ERROR: 0:13: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:13: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -75,7 +73,7 @@
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl
index 7bfe637..d0c13f2 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl
@@ -1,4 +1,4 @@
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -21,7 +21,7 @@
void main() {
v.tint_symbol = textureSampleLevel_36f0d3();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -43,7 +43,7 @@
void main() {
v.tint_symbol = textureSampleLevel_36f0d3();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl
index 7597365..dc1fdf2 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.glsl
index 95a38be..5ba44b9 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -32,14 +30,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:15: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:15: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:15: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 0:13: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:13: '' : compilation terminated
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -71,13 +68,12 @@
}
error: Error parsing GLSL shader:
ERROR: 0:13: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:13: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:13: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
@@ -113,9 +109,8 @@
}
error: Error parsing GLSL shader:
ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:10: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:10: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.ir.glsl
index 26ccd77..6ddb723 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.ir.glsl
@@ -1,6 +1,4 @@
-SKIP: FAILED
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -23,14 +21,7 @@
void main() {
v.tint_symbol = textureSampleLevel_3c3442();
}
-error: Error parsing GLSL shader:
-ERROR: 0:18: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:18: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -52,14 +43,7 @@
void main() {
v.tint_symbol = textureSampleLevel_3c3442();
}
-error: Error parsing GLSL shader:
-ERROR: 0:16: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:16: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
@@ -94,12 +78,3 @@
vertex_main_loc0_Output = v_3.prevent_dce;
gl_PointSize = 1.0f;
}
-error: Error parsing GLSL shader:
-ERROR: 0:19: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:19: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl
index 25afae6..358e45b 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.glsl
index 686a94c..1f2699a 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -32,14 +30,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:15: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:15: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:15: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 0:13: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:13: '' : compilation terminated
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -71,13 +68,12 @@
}
error: Error parsing GLSL shader:
ERROR: 0:13: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:13: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:13: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
@@ -113,9 +109,8 @@
}
error: Error parsing GLSL shader:
ERROR: 0:10: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:10: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:10: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.ir.glsl
index 59a3cce..e59dd02 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.ir.glsl
@@ -1,6 +1,4 @@
-SKIP: FAILED
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -23,14 +21,7 @@
void main() {
v.tint_symbol = textureSampleLevel_615583();
}
-error: Error parsing GLSL shader:
-ERROR: 0:18: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:18: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -52,14 +43,7 @@
void main() {
v.tint_symbol = textureSampleLevel_615583();
}
-error: Error parsing GLSL shader:
-ERROR: 0:16: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:16: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
@@ -94,12 +78,3 @@
vertex_main_loc0_Output = v_3.prevent_dce;
gl_PointSize = 1.0f;
}
-error: Error parsing GLSL shader:
-ERROR: 0:19: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:19: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl
index 8d42897..24792c8 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_cube;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.glsl
index 4df7ca9..3f7a8cd 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -31,14 +29,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:14: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:14: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:14: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 0:12: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:12: '' : compilation terminated
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -69,13 +66,12 @@
}
error: Error parsing GLSL shader:
ERROR: 0:12: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:12: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:12: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp samplerCubeShadow arg_0_arg_1;
@@ -110,9 +106,8 @@
}
error: Error parsing GLSL shader:
ERROR: 0:9: 'textureLod(..., float lod)' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:9: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
ERROR: 0:9: '' : compilation terminated
-ERROR: 3 compilation errors. No code generated.
+ERROR: 2 compilation errors. No code generated.
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl
index 893d564..5d431ab 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl
@@ -1,6 +1,4 @@
-SKIP: FAILED
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -21,14 +19,7 @@
void main() {
v.tint_symbol = textureSampleLevel_ae92a2();
}
-error: Error parsing GLSL shader:
-ERROR: 0:16: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:16: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -48,14 +39,7 @@
void main() {
v.tint_symbol = textureSampleLevel_ae92a2();
}
-error: Error parsing GLSL shader:
-ERROR: 0:14: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:14: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
@@ -88,12 +72,3 @@
vertex_main_loc0_Output = v_2.prevent_dce;
gl_PointSize = 1.0f;
}
-error: Error parsing GLSL shader:
-ERROR: 0:17: 'textureLod(..., float lod)' : GL_EXT_texture_shadow_lod not supported for this ES version
-ERROR: 0:17: '' : compilation terminated
-ERROR: 2 compilation errors. No code generated.
-
-
-
-
-tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl
index b712d45..cd2bd15 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.glsl
index b0ad1c8..82bb32d 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -32,13 +30,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:15: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:15: '' : compilation terminated
+ERROR: 0:13: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:13: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -75,7 +73,7 @@
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl
index 0adb29f..4ce7568 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl
@@ -1,4 +1,4 @@
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -21,7 +21,7 @@
void main() {
v.tint_symbol = textureSampleLevel_cdfe0f();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -43,7 +43,7 @@
void main() {
v.tint_symbol = textureSampleLevel_cdfe0f();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl
index 147b5b8..6e3a91a 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl
@@ -35,6 +35,8 @@
////////////////////////////////////////////////////////////////////////////////
+// flags: --glsl-desktop
+
@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.glsl b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.glsl
index 62affe7..f266776 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.glsl
@@ -1,8 +1,6 @@
SKIP: FAILED
-#version 310 es
-precision highp float;
-precision highp int;
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -32,13 +30,13 @@
return;
}
error: Error parsing GLSL shader:
-ERROR: 0:15: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
-ERROR: 0:15: '' : compilation terminated
+ERROR: 0:13: 'textureLodOffset for sampler2DArrayShadow' : required extension not requested: GL_EXT_texture_shadow_lod
+ERROR: 0:13: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
-#version 310 es
+#version 460
layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
float inner;
@@ -75,7 +73,7 @@
-#version 310 es
+#version 460
layout(location = 0) flat out float prevent_dce_1;
uniform highp sampler2DArrayShadow arg_0_arg_1;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl
index bd1f622..92987fd 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl
@@ -1,4 +1,4 @@
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
precision highp float;
precision highp int;
@@ -21,7 +21,7 @@
void main() {
v.tint_symbol = textureSampleLevel_e6ce9e();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require
layout(binding = 0, std430)
@@ -43,7 +43,7 @@
void main() {
v.tint_symbol = textureSampleLevel_e6ce9e();
}
-#version 310 es
+#version 460
#extension GL_EXT_texture_shadow_lod: require