dawn-cmake/test/tint/builtins/gen/trunc
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
..
562d05.wgsl tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
562d05.wgsl.expected.glsl GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
562d05.wgsl.expected.hlsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
562d05.wgsl.expected.msl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
562d05.wgsl.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
562d05.wgsl.expected.wgsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
e183aa.wgsl tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
e183aa.wgsl.expected.glsl GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
e183aa.wgsl.expected.hlsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
e183aa.wgsl.expected.msl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
e183aa.wgsl.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
e183aa.wgsl.expected.wgsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
eb83df.wgsl tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
eb83df.wgsl.expected.glsl GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
eb83df.wgsl.expected.hlsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
eb83df.wgsl.expected.msl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
eb83df.wgsl.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
eb83df.wgsl.expected.wgsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
f370d3.wgsl tools: Update post-shuffle paths for builtin-gen 2022-02-22 20:24:59 +00:00
f370d3.wgsl.expected.glsl GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
f370d3.wgsl.expected.hlsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
f370d3.wgsl.expected.msl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
f370d3.wgsl.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
f370d3.wgsl.expected.wgsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00