dawn-cmake/test/tint
Ben Clayton 046abc08e8 tint/writer: Replace use of strings for cache keys
Concatenating strings to use for cache keys is horribly inefficent and very error prone.

Add a UnorderedKeyWrapper helper to allow types to be used as a unordered_map and unordered_set key. Use this for the type_constructor_to_id_ map.

Produces SPIR-V with some duplicate SPIR-V instructions for constructors removed.

Change-Id: Ib072d485ca28bb07f03e979c133cdce1f69ee482
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88300
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-04-28 13:08:22 +00:00
..
access tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
array wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
benchmark GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
buffer wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
bug GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
builtins Revert "Add External Texture Gamma/Gamut Correction" 2022-04-26 12:20:02 +00:00
expressions Implement mixed vector-scalar float % operator 2022-03-28 14:36:31 +00:00
extensions/InternalExtensionForTesting tint: Add enable directive for extensions 2022-04-27 02:27:52 +00:00
identifiers/underscore wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
layout/storage/mat2x2 wgsl: Separate struct members with commas 2022-03-28 14:31:22 +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 wgsl: Separate struct members with commas 2022-03-28 14:31:22 +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 GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
var Normalize all line endings to LF 2022-04-08 14:18:28 +00:00
vk-gl-cts GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
BUILD.gn tint: Add enable directive for extensions 2022-04-27 02:27:52 +00:00
extract-spvasm.py tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
test-all.sh tools: Replace copy-pasta scripts 2022-04-07 18:26:45 +00:00