dawn-cmake/src/transform
Sarah 10442eff7d validation: limit dynamic indexes to references to matrices and arrays
https://github.com/gpuweb/gpuweb/pull/1801
indexes must be of type 'i32' or 'u32'

Bug: tint:867
Change-Id: Ie5bfacf87af5a06d5428dc510145e96fb156c42e
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54720
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: Sarah Mashayekhi <sarahmashay@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-06-16 18:50:13 +00:00
..
binding_remapper.cc wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
binding_remapper.h wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
binding_remapper_test.cc wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
bound_array_accessors.cc transform/bound_array_accessors: Use new arrayLength overload 2021-06-15 15:05:17 +00:00
bound_array_accessors.h transform: Add Data as an input 2021-03-29 21:03:59 +00:00
bound_array_accessors_test.cc validation: limit dynamic indexes to references to matrices and arrays 2021-06-16 18:50:13 +00:00
calculate_array_length.cc Add arrayLength() intrinsic that accepts a pointer argument 2021-06-10 18:43:04 +00:00
calculate_array_length.h resolver: Ensure that decorations aren't duplicated 2021-06-09 18:53:57 +00:00
calculate_array_length_test.cc Add arrayLength() intrinsic that accepts a pointer argument 2021-06-10 18:43:04 +00:00
canonicalize_entry_point_io.cc Rename 'constructed types' to 'type declarartions' 2021-06-09 14:32:14 +00:00
canonicalize_entry_point_io.h writer/msl: Emit builtins as parameters 2021-06-04 14:40:28 +00:00
canonicalize_entry_point_io_test.cc writer/msl: Emit builtins as parameters 2021-06-04 14:40:28 +00:00
decompose_storage_access.cc Add arrayLength() intrinsic that accepts a pointer argument 2021-06-10 18:43:04 +00:00
decompose_storage_access.h resolver: Ensure that decorations aren't duplicated 2021-06-09 18:53:57 +00:00
decompose_storage_access_test.cc wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
external_texture_transform.cc wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
external_texture_transform.h Fix all doxygen warnings 2021-05-06 16:26:53 +00:00
external_texture_transform_test.cc Remove texture_external overload for textureSample and add textureSampleLevel 2021-05-12 10:37:03 +00:00
first_index_offset.cc ast: Replace NamedType with TypeDecl 2021-06-09 14:32:14 +00:00
first_index_offset.h src/transform: Remove deprecated APIs 2021-04-26 20:38:36 +00:00
first_index_offset_test.cc resolver: Validate that a call statement has no return value 2021-06-11 13:22:27 +00:00
hlsl.cc Add transform/PadArrayElements 2021-06-16 09:50:11 +00:00
hlsl.h writer/msl: Hoist array and struct initializers 2021-06-01 12:08:20 +00:00
hlsl_test.cc writer/msl: Hoist array and struct initializers 2021-06-01 12:08:20 +00:00
inline_pointer_lets.cc hlsl: Pointer support 2021-05-19 19:16:32 +00:00
inline_pointer_lets.h hlsl: Pointer support 2021-05-19 19:16:32 +00:00
inline_pointer_lets_test.cc writer: Add parentheses for array accesses 2021-06-01 12:18:10 +00:00
manager.cc transform: Minor changes to cleanup Dawn usage. 2021-04-16 08:35:24 +00:00
manager.h writer/hlsl: Fix storage buffers 2021-04-09 13:20:28 +00:00
msl.cc Add transform/PadArrayElements 2021-06-16 09:50:11 +00:00
msl.h writer/msl: Handle texture and sampler variables 2021-06-11 12:34:26 +00:00
msl_test.cc writer/msl: Handle texture and sampler variables 2021-06-11 12:34:26 +00:00
pad_array_elements.cc Add transform/PadArrayElements 2021-06-16 09:50:11 +00:00
pad_array_elements.h Add transform/PadArrayElements 2021-06-16 09:50:11 +00:00
pad_array_elements_test.cc Add transform/PadArrayElements 2021-06-16 09:50:11 +00:00
promote_initializers_to_const_var.cc writer/msl: Hoist array and struct initializers 2021-06-01 12:08:20 +00:00
promote_initializers_to_const_var.h writer/msl: Hoist array and struct initializers 2021-06-01 12:08:20 +00:00
promote_initializers_to_const_var_test.cc validation: limit dynamic indexes to references to matrices and arrays 2021-06-16 18:50:13 +00:00
renamer.cc ast: Use IdentifierExpression for call targets 2021-05-22 12:42:14 +00:00
renamer.h Merge RenameReservedKeywords into the Renamer 2021-04-16 08:28:54 +00:00
renamer_test.cc resolver: Validate that a call statement has no return value 2021-06-11 13:22:27 +00:00
simplify.cc Add transform::Simplify 2021-05-21 21:01:23 +00:00
simplify.h Add transform::Simplify 2021-05-21 21:01:23 +00:00
simplify_test.cc Add transform::Simplify 2021-05-21 21:01:23 +00:00
single_entry_point.cc Rename 'constructed types' to 'type declarartions' 2021-06-09 14:32:14 +00:00
single_entry_point.h Add transform to strip entry points from a module 2021-04-28 15:33:03 +00:00
single_entry_point_test.cc resolver: Reenable VS validation for returning position 2021-06-16 09:50:11 +00:00
spirv.cc transform: remove VarForDynamicIndex transform. 2021-06-16 17:42:53 +00:00
spirv.h transform/Spirv: Add EmitVertexPointSize logic 2021-05-05 16:54:52 +00:00
spirv_test.cc ast: Rename UnaryOp::kDereference to kIndirection 2021-05-17 14:48:37 +00:00
test_helper.h transform: Minor changes to cleanup Dawn usage. 2021-04-16 08:35:24 +00:00
transform.cc writer/msl: Handle texture and sampler variables 2021-06-11 12:34:26 +00:00
transform.h Add Transform::CreateASTTypeFor() 2021-05-04 18:13:21 +00:00
transform_test.cc Add transform/PadArrayElements 2021-06-16 09:50:11 +00:00
vertex_pulling.cc ast: Replace NamedType with TypeDecl 2021-06-09 14:32:14 +00:00
vertex_pulling.h Add fuzzing for transform::VertexPulling 2021-05-06 15:43:33 +00:00
vertex_pulling_test.cc wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
wrap_arrays_in_structs.cc Add transform/WrapArraysInStructs 2021-06-16 09:19:36 +00:00
wrap_arrays_in_structs.h Add transform/WrapArraysInStructs 2021-06-16 09:19:36 +00:00
wrap_arrays_in_structs_test.cc Add transform/WrapArraysInStructs 2021-06-16 09:19:36 +00:00