dawn-cmake/test/tint
Ben Clayton 7f2b8cd8fc tint: Refactor Extensions / Enables.
* Extract ast::Enable::ExtensionKind to ast::Extension.
* Move the parsing out of ast::Enable and next to ast/extension.h
* Change the ast::Enable constructor to take the Extension, instead of
  a std::string. It's the WGSL parser's responsibility to parse, not the
  AST nodes.
* Add ProgramBuilder::Enable() helper.
* Keep ast::Module simple - keep track of the declared AST Enable nodes,
  don't do any deduplicating of the enabled extensions.
* Add the de-duplicated ast::Extensions to the sem::Module.
* Remove the kInternalExtensionForTesting enum value - we have kF16
  now, which can be used instead for testing.
* Rename kNoExtension to kNone.

Bug: tint:1472
Change-Id: I9af635e95d36991ea468e6e0bf6798bb50937edc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/90523
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-05-18 22:41:48 +00:00
..
access tint: Change all ProgramBuilder literals to 'i' or 'u' suffix 2022-05-05 20:23:40 +00:00
array tint: Change all ProgramBuilder literals to 'i' or 'u' suffix 2022-05-05 20:23:40 +00:00
benchmark tint: Implement uniformity analaysis 2022-05-11 22:05:15 +00:00
buffer wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
bug tint: Fix MSL generation of '&' and '|' with booleans 2022-05-16 12:02:52 +00:00
builtins tint: Support dot4I8Packed and dot4U8Packed in sem 2022-05-10 09:05:54 +00:00
expressions tint: Add matrix identify and single-scalar ctors 2022-05-16 21:14:11 +00:00
extensions/parsing tint: Refactor Extensions / Enables. 2022-05-18 22:41:48 +00:00
identifiers/underscore wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
layout/storage/mat2x2 tint: Change all ProgramBuilder literals to 'i' or 'u' suffix 2022-05-05 20:23:40 +00:00
let Normalize all line endings to LF 2022-04-08 14:18:28 +00:00
loops HLSL: workaround FXC error "continue cannot be used in a switch" 2022-03-31 15:02:25 +00:00
out_of_order_decls wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
ptr_ref tint: Change all ProgramBuilder literals to 'i' or 'u' suffix 2022-05-05 20:23:40 +00:00
samples GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
shader_io GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
shadowing wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
statements Normalize all line endings to LF 2022-04-08 14:18:28 +00:00
struct wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
types tint/writer: Replace use of strings for cache keys 2022-04-28 13:08:22 +00:00
unicode test: Move unicode e2e test to tint dir 2022-02-21 16:51:06 +00:00
unittest/reader/spirv tint: Update SKIP line for specific DXC failure 2022-04-29 15:31:22 +00:00
var tint: add --overrides flag to specify pipeline overrides 2022-05-05 17:05:10 +00:00
vk-gl-cts tint: Update SKIP lines with specific FXC bug 2022-04-29 15:31:22 +00:00
BUILD.gn tint: Refactor Extensions / Enables. 2022-05-18 22:41:48 +00:00
extract-spvasm.py
test-all.sh tools: Replace copy-pasta scripts 2022-04-07 18:26:45 +00:00