dawn-cmake/test
Stephen White 0ff3050c6c GLSL: a grab bag of texture fixes.
Use imageSize() on images, not textureSize().
In GLSL, the LOD parameter to textureSize() is mandatory for
sampled textures, so emit a default 0 if not supplied. (Also, don't pack
the level into the coords argument; that's an HLSLism.)
GLSL returns the array size of array textures in the final component
of textureSize(); remove it for WGSL.
Write the subtype of storage images correctly (uimage*, iimage*, etc).
This required a bit of cleanup to move "writeonly" ahead of subtype
emission.

Bug: tint:1298
Change-Id: Ica1cec0f833a9b684143c8b0cf6d090fb511a7d2
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/70140
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-11-19 19:06:23 +00:00
..
access GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
array HLSL: force FXC to never unroll loops 2021-11-18 13:50:12 +00:00
buffer GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
bug GLSL: a grab bag of texture fixes. 2021-11-19 19:06:23 +00:00
expressions GLSL: implement inf, nan. 2021-11-18 13:11:43 +00:00
intrinsics GLSL: a grab bag of texture fixes. 2021-11-19 19:06:23 +00:00
layout/storage/mat2x2 HLSL: force FXC to never unroll loops 2021-11-18 13:50:12 +00:00
let GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
loops HLSL: force FXC to never unroll loops 2021-11-18 13:50:12 +00:00
matrix/constructor/elements GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
ptr_ref GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
samples HLSL: force FXC to never unroll loops 2021-11-18 13:50:12 +00:00
shader_io GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
statements HLSL: force FXC to never unroll loops 2021-11-18 13:50:12 +00:00
struct GLSL: add .expected.glsl files for all tests. 2021-11-16 15:15:36 +00:00
types GLSL: a grab bag of texture fixes. 2021-11-19 19:06:23 +00:00
unittest/reader/spirv Add more SPIR-V reader unit test samples 2021-09-27 20:55:53 +00:00
var GLSL: implement atomics. 2021-11-19 17:46:13 +00:00
vk-gl-cts spirv-reader: Sink pointer-to-vector-component 2021-11-04 19:55:57 +00:00
BUILD.gn Add HLSL/MSL generator options for ArrayLengthFromUniform 2021-11-19 04:11:33 +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