dawn-cmake/src/tint/reader/wgsl
dan sinclair 7517e213cf Update `workgroup_size` to use `expression`.
This CL updates the `workgroup_size` attribute to use `expression`
values instead of `primary_expression`.

Bug: tint:1633
Change-Id: I0afbabd8ee61943469f04a55d56f85920563e2da
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99960
Reviewed-by: Ben Clayton <bclayton@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-24 21:31:45 +00:00
..
lexer.cc tint/reader: Parse static_assert 2022-08-03 10:08:46 +00:00
lexer.h Pre-parse token list. 2022-07-25 16:43:08 +00:00
lexer_test.cc Add `element_count_expression` to WGSL parser 2022-08-19 21:26:01 +00:00
parser.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
parser.h Condense namespaces in tint/reader/wgsl. 2022-04-07 17:55:04 +00:00
parser_bench.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
parser_impl.cc Update `workgroup_size` to use `expression`. 2022-08-24 21:31:45 +00:00
parser_impl.h Drop `maybe_` from method names. 2022-08-24 19:11:55 +00:00
parser_impl_additive_expression_test.cc Convert to new expression grammar 2022-08-24 18:05:26 +00:00
parser_impl_argument_expression_list_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_assignment_stmt_test.cc Convert assignment_statement to new WGSL grammar. 2022-08-17 17:20:50 +00:00
parser_impl_bitwise_expression_test.cc Add bitwise_expression to the WGSL parser. 2022-08-18 14:37:17 +00:00
parser_impl_break_stmt_test.cc Sync the `statement` grammar element. 2022-08-05 14:53:47 +00:00
parser_impl_bug_cases_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
parser_impl_call_stmt_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_callable_test.cc Add `mat_prefix`, `vec_prefix`, `callable` and `type_decl_without_ident` 2022-08-22 16:15:04 +00:00
parser_impl_case_body_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_compound_stmt_test.cc Sync the `statement` grammar element. 2022-08-05 14:53:47 +00:00
parser_impl_const_literal_test.cc tint: f16 literal in WGSL lexer and check subnormal f32/f16 hex literal 2022-06-10 18:18:35 +00:00
parser_impl_continue_stmt_test.cc Sync the `statement` grammar element. 2022-08-05 14:53:47 +00:00
parser_impl_continuing_stmt_test.cc Syncing WGSL grammar to Tint. 2022-08-09 16:52:42 +00:00
parser_impl_core_lhs_expression_test.cc Convert assignment_statement to new WGSL grammar. 2022-08-17 17:20:50 +00:00
parser_impl_depth_texture_test.cc Sync some WGSL grammar names to spec 2022-08-17 14:28:31 +00:00
parser_impl_detail.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
parser_impl_element_count_expression_test.cc Add `element_count_expression` to WGSL parser 2022-08-19 21:26:01 +00:00
parser_impl_enable_directive_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_error_msg_test.cc Add `element_count_expression` to WGSL parser 2022-08-19 21:26:01 +00:00
parser_impl_error_resync_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
parser_impl_expression_test.cc Drop `maybe_` from method names. 2022-08-24 19:11:55 +00:00
parser_impl_external_texture_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
parser_impl_for_stmt_test.cc Sync the `statement` grammar element. 2022-08-05 14:53:47 +00:00
parser_impl_function_attribute_list_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_function_attribute_test.cc Update `workgroup_size` to use `expression`. 2022-08-24 21:31:45 +00:00
parser_impl_function_decl_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_function_header_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_global_constant_decl_test.cc Add optional attribute trailing commas. 2022-07-25 13:30:18 +00:00
parser_impl_global_decl_test.cc reader/wgsl: Error if 'struct' has attributes 2022-08-17 18:57:49 +00:00
parser_impl_global_variable_decl_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_if_stmt_test.cc Sync the `statement` grammar element. 2022-08-05 14:53:47 +00:00
parser_impl_increment_decrement_stmt_test.cc Convert assignment_statement to new WGSL grammar. 2022-08-17 17:20:50 +00:00
parser_impl_lhs_expression_test.cc Convert assignment_statement to new WGSL grammar. 2022-08-17 17:20:50 +00:00
parser_impl_loop_stmt_test.cc Sync the `statement` grammar element. 2022-08-05 14:53:47 +00:00
parser_impl_math_expression_test.cc Add `element_count_expression` to WGSL parser 2022-08-19 21:26:01 +00:00
parser_impl_multiplicative_expression_test.cc Convert to new expression grammar 2022-08-24 18:05:26 +00:00
parser_impl_param_list_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_paren_expression_test.cc Rename paren_rhs_stmt to paren_expression. 2022-07-22 16:07:36 +00:00
parser_impl_pipeline_stage_test.cc Pre-parse token list. 2022-07-25 16:43:08 +00:00
parser_impl_primary_expression_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_relational_expression_test.cc Drop `maybe_` from method names. 2022-08-24 19:11:55 +00:00
parser_impl_reserved_keyword_test.cc tint/reader: Parse static_assert 2022-08-03 10:08:46 +00:00
parser_impl_sampled_texture_test.cc Sync some WGSL grammar names to spec 2022-08-17 14:28:31 +00:00
parser_impl_sampler_test.cc Sync some WGSL grammar names to spec 2022-08-17 14:28:31 +00:00
parser_impl_shift_expression_test.cc Drop `maybe_` from method names. 2022-08-24 19:11:55 +00:00
parser_impl_singular_expression_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_statement_test.cc tint/reader: Parse static_assert 2022-08-03 10:08:46 +00:00
parser_impl_statements_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_storage_class_test.cc Cleanup some strings; Reorder `attribute` rule. 2022-08-05 14:47:57 +00:00
parser_impl_storage_texture_test.cc Sync some WGSL grammar names to spec 2022-08-17 14:28:31 +00:00
parser_impl_struct_attribute_decl_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_struct_body_decl_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_struct_decl_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_struct_member_attribute_decl_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_struct_member_attribute_test.cc Convert `@align` to hold an expression. 2022-08-23 13:28:44 +00:00
parser_impl_struct_member_test.cc Convert `@align` to hold an expression. 2022-08-23 13:28:44 +00:00
parser_impl_switch_body_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_switch_stmt_test.cc Sync the `statement` grammar element. 2022-08-05 14:53:47 +00:00
parser_impl_test.cc Handle peeking past placeholder elements. 2022-08-22 19:19:44 +00:00
parser_impl_test_helper.cc Condense namespaces in tint/reader/wgsl. 2022-04-07 17:55:04 +00:00
parser_impl_test_helper.h Pre-parse token list. 2022-07-25 16:43:08 +00:00
parser_impl_texel_format_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
parser_impl_texture_sampler_test.cc Sync some WGSL grammar names to spec 2022-08-17 14:28:31 +00:00
parser_impl_type_alias_test.cc Sync the `global_decl` grammar rule 2022-08-04 17:57:26 +00:00
parser_impl_type_decl_test.cc Update `type_decl` and `primary_expression` 2022-08-22 19:42:14 +00:00
parser_impl_type_decl_without_ident_test.cc Add `mat_prefix`, `vec_prefix`, `callable` and `type_decl_without_ident` 2022-08-22 16:15:04 +00:00
parser_impl_unary_expression_test.cc Convert to new expression grammar 2022-08-24 18:05:26 +00:00
parser_impl_variable_attribute_list_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
parser_impl_variable_attribute_test.cc Extract interpolation sample and type name parsing 2022-08-04 21:21:37 +00:00
parser_impl_variable_decl_test.cc tint: Add basic support for chromium_experimental_push_constant. 2022-08-02 15:55:35 +00:00
parser_impl_variable_ident_decl_test.cc Add optionally_typed_ident to WGSL parser. 2022-08-17 17:38:17 +00:00
parser_impl_variable_qualifier_test.cc tint/ast: Clean up StorageClass enum 2022-07-26 22:51:36 +00:00
parser_impl_variable_stmt_test.cc Add test for let with complex constructor 2022-08-22 16:02:19 +00:00
parser_impl_vec_mat_prefix_test.cc Add `mat_prefix`, `vec_prefix`, `callable` and `type_decl_without_ident` 2022-08-22 16:15:04 +00:00
parser_impl_while_stmt_test.cc Sync the `statement` grammar element. 2022-08-05 14:53:47 +00:00
parser_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
token.cc tint/reader: Parse static_assert 2022-08-03 10:08:46 +00:00
token.h Add `element_count_expression` to WGSL parser 2022-08-19 21:26:01 +00:00
token_test.cc tint/resolver: Add f16 types, constructor, and conversions 2022-06-28 14:03:36 +00:00