dawn-cmake/test/tint/ptr_ref/load/param/uniform
Ben Clayton 1a1b5278d5 tint/transform: Inline HLSL uniform / storage buffers
Change the DecomposeMemoryAccess to behave more like the DirectVariableAccess transform, in that it'll inline the access of buffer variable into the load / store helper functions, instead of passing the array down.

This avoids large array copies observed with FXC, which can have *severe* performance costs.

Fixed: tint:1819
Change-Id: I52eb3f908813f72ab9da446743e24a2637158309
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/121460
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: James Price <jrprice@google.com>
2023-02-24 17:16:55 +00:00
..
array_in_struct.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
array_in_struct.wgsl.expected.dxc.hlsl tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
array_in_struct.wgsl.expected.fxc.hlsl tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
array_in_struct.wgsl.expected.glsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
array_in_struct.wgsl.expected.msl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
array_in_struct.wgsl.expected.spvasm tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
array_in_struct.wgsl.expected.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32.wgsl.expected.dxc.hlsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32.wgsl.expected.fxc.hlsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32.wgsl.expected.glsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32.wgsl.expected.msl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32.wgsl.expected.spvasm tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32.wgsl.expected.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32_in_struct.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32_in_struct.wgsl.expected.dxc.hlsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32_in_struct.wgsl.expected.fxc.hlsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32_in_struct.wgsl.expected.glsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32_in_struct.wgsl.expected.msl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32_in_struct.wgsl.expected.spvasm tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
i32_in_struct.wgsl.expected.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
struct_in_array.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
struct_in_array.wgsl.expected.dxc.hlsl tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
struct_in_array.wgsl.expected.fxc.hlsl tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
struct_in_array.wgsl.expected.glsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
struct_in_array.wgsl.expected.msl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
struct_in_array.wgsl.expected.spvasm tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
struct_in_array.wgsl.expected.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec2_f32_in_mat2x2.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
vec2_f32_in_mat2x2.wgsl.expected.glsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec2_f32_in_mat2x2.wgsl.expected.msl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec2_f32_in_mat2x2.wgsl.expected.spvasm tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec2_f32_in_mat2x2.wgsl.expected.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32.wgsl.expected.dxc.hlsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32.wgsl.expected.fxc.hlsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32.wgsl.expected.glsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32.wgsl.expected.msl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32.wgsl.expected.spvasm tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32.wgsl.expected.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32_in_mat2x4.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
vec4_f32_in_mat2x4.wgsl.expected.glsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32_in_mat2x4.wgsl.expected.msl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32_in_mat2x4.wgsl.expected.spvasm tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32_in_mat2x4.wgsl.expected.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32_in_struct.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32_in_struct.wgsl.expected.dxc.hlsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32_in_struct.wgsl.expected.fxc.hlsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32_in_struct.wgsl.expected.glsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32_in_struct.wgsl.expected.msl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32_in_struct.wgsl.expected.spvasm tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00
vec4_f32_in_struct.wgsl.expected.wgsl tint: Add DirectVariableAccess transform 2022-12-01 18:49:09 +00:00