dawn-cmake/test
Stephen White a9f8c7db81 Implement GLSL writer backend.
This is a modified version of the HLSL writer.
Basic types, arrays, entry points, reserved keywords, uniforms,
builtin uniforms, structs, some builtin functions, zero initialization
are implemented. Textures, SSBOs and storage textures in particular are
unimplemented. All the unit tests "pass", but the output is not correct
in many cases.

triangle.wgsl outputs correct vertex and fragment shaders that pass
GLSL validation via glslang. compute_boids.wgsl outputs a valid but not
correct compute shader.

Change-Id: I96c7aaf60cf2d4237e45d732e5f51b345aea0552
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/57780
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-10-06 18:55:10 +00:00
..
access validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
array Allow array size to be a module-scope constant 2021-09-02 13:49:59 +00:00
buffer msl: Overload matrix-vector arithmetic operators 2021-08-23 21:45:23 +00:00
bug transform: Avoid symbol collision in Canonicalize IO 2021-09-27 21:40:33 +00:00
expressions msl: Overload matrix-vector arithmetic operators 2021-08-23 21:45:23 +00:00
intrinsics writer/spirv: Fix abs() on unsigned integers 2021-10-01 08:41:55 +00:00
layout/storage/mat2x2 Allow array size to be a module-scope constant 2021-09-02 13:49:59 +00:00
loops Restore "MSL writer: make signed int overflow defined behaviour" 2021-07-30 18:59:06 +00:00
ptr_ref spirv: Use generic transform to process shader IO 2021-08-05 17:34:19 +00:00
samples msl: Only emit packed vectors when the width is 3 2021-08-23 21:45:23 +00:00
shader_io Implement and test num_workgroups for all backends 2021-09-13 17:11:58 +00:00
statements/for Restore "MSL writer: make signed int overflow defined behaviour" 2021-07-30 18:59:06 +00:00
struct Restore "MSL writer: make signed int overflow defined behaviour" 2021-07-30 18:59:06 +00:00
switch writer/hlsl: Inline fallthrough case statements 2021-08-02 12:58:19 +00:00
types spirv backend: do not generate a load for ignored expressions 2021-09-16 13:32:57 +00:00
unittest/reader/spirv Add more SPIR-V reader unit test samples 2021-09-27 20:55:53 +00:00
var msl: Use a struct for threadgroup memory arguments 2021-09-29 18:56:17 +00:00
vk-gl-cts test: Remove many expected files 2021-08-24 22:49:42 +00:00
BUILD.gn Implement GLSL writer backend. 2021-10-06 18:55:10 +00:00
extract-spvasm.py Add --dump-spirv option to tint_unittests 2021-05-05 09:46:31 +00:00
test-all.sh main: Replace --dawn-validation with --validate 2021-06-02 21:02:34 +00:00