diff --git a/sdk/tests/conformance/glsl/misc/00_test_list.txt b/sdk/tests/conformance/glsl/misc/00_test_list.txt index c60310df14..00d373b212 100644 --- a/sdk/tests/conformance/glsl/misc/00_test_list.txt +++ b/sdk/tests/conformance/glsl/misc/00_test_list.txt @@ -41,6 +41,7 @@ shader-with-default-precision.vert.html shader-with-dfdx-no-ext.frag.html shader-with-dfdx.frag.html --min-version 1.0.2 shader-with-do-loop.html +--min-version 1.0.4 shader-with-double-underscore.html shader-with-error-directive.html shader-with-explicit-int-cast.vert.html shader-with-float-return-value.frag.html diff --git a/sdk/tests/conformance/glsl/misc/shader-with-double-underscore.html b/sdk/tests/conformance/glsl/misc/shader-with-double-underscore.html new file mode 100644 index 0000000000..19b9e31a7d --- /dev/null +++ b/sdk/tests/conformance/glsl/misc/shader-with-double-underscore.html @@ -0,0 +1,43 @@ + + + + + + +WebGL GLSL Conformance Tests + + + + + + + +
+
+ + + + + diff --git a/specs/latest/1.0/index.html b/specs/latest/1.0/index.html index 6b126584f7..d38be38cfe 100644 --- a/specs/latest/1.0/index.html +++ b/specs/latest/1.0/index.html @@ -4668,6 +4668,16 @@

Current program invalidated upon unsuc

+ +

Double-Underscore in Shader Identifiers

+

+ Identifiers in shaders may contain double-underscores, for example as in "g__Foo". +

+
+ To ensure robust portablility, implementations shall support this even if the underlying driver does not support this. (via e.g. mangling) +
+ +

References