commit | d42e0e9a1d554303bc8246b79888d243524464b4 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Sep 19 21:49:20 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 19 21:49:20 2024 +0000 |
tree | f84b2cb10052899f0939cfb106cba04923d2c2c9 | |
parent | 49c1b0e7c623ad01be204a88e812b165b7a2af69 [diff] [blame] |
[ir] Always inline `handle` address space. Items in the `handle` address space can always be inlined. This fixes an issue where in GLSL these can not be copied. Change-Id: Idc8dfe5c8f88ebd90239337b4ad8c6d2c455edc5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/207355 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
diff --git a/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.ir.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.ir.dxc.hlsl index 80e98d8..49caab7 100644 --- a/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.ir.dxc.hlsl +++ b/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.ir.dxc.hlsl
@@ -1,8 +1,7 @@ RWTexture2DArray<int4> arg_0 : register(u0, space1); void textureStore_73a735() { - RWTexture2DArray<int4> v = arg_0; - v[uint3((1u).xx, uint(int(1)))] = (int(1)).xxxx; + arg_0[uint3((1u).xx, uint(int(1)))] = (int(1)).xxxx; } void fragment_main() {