dawn-cmake/test/tint/builtins/gen/countTrailingZeros
Stephen White 790e4c2d60 GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL.
The OpenGL ES 3.1 spec says:

"The point size is taken from the shader built-in gl_PointSize written by the vertex shader, and clamped to the implementation-dependent point size range. If the value written to gl_PointSize is less than or equal to zero, or if no value is written, the point size is undefined."

ANGLE/D3D11 will emit a warning on this and abort processing, causing dawn_end2end tests to fail.

Bug: dawn:1390
Change-Id: I6a56467842ba80d8a070af7240ee07bb111089dd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87720
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-04-22 21:25:02 +00:00
..
1ad138.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
1ad138.wgsl.expected.glsl GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
1ad138.wgsl.expected.hlsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
1ad138.wgsl.expected.msl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
1ad138.wgsl.expected.spvasm builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
1ad138.wgsl.expected.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
1dc84a.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
1dc84a.wgsl.expected.glsl GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
1dc84a.wgsl.expected.hlsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
1dc84a.wgsl.expected.msl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
1dc84a.wgsl.expected.spvasm builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
1dc84a.wgsl.expected.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
8ed26f.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
8ed26f.wgsl.expected.glsl GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
8ed26f.wgsl.expected.hlsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
8ed26f.wgsl.expected.msl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
8ed26f.wgsl.expected.spvasm builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
8ed26f.wgsl.expected.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
21e394.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
21e394.wgsl.expected.glsl GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
21e394.wgsl.expected.hlsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
21e394.wgsl.expected.msl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
21e394.wgsl.expected.spvasm builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
21e394.wgsl.expected.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
42fed6.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
42fed6.wgsl.expected.glsl GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
42fed6.wgsl.expected.hlsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
42fed6.wgsl.expected.msl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
42fed6.wgsl.expected.spvasm builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
42fed6.wgsl.expected.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
327c37.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
327c37.wgsl.expected.glsl GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
327c37.wgsl.expected.hlsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
327c37.wgsl.expected.msl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
327c37.wgsl.expected.spvasm builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
327c37.wgsl.expected.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
acfacb.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
acfacb.wgsl.expected.glsl GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
acfacb.wgsl.expected.hlsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
acfacb.wgsl.expected.msl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
acfacb.wgsl.expected.spvasm builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
acfacb.wgsl.expected.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
d2b4a0.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
d2b4a0.wgsl.expected.glsl GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
d2b4a0.wgsl.expected.hlsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
d2b4a0.wgsl.expected.msl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
d2b4a0.wgsl.expected.spvasm builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00
d2b4a0.wgsl.expected.wgsl builtins: Add countTrailingZeros 2022-02-22 23:16:39 +00:00