Helena Kotas
eb3d88423d
[HLSL] Global resource arrays element access ( #152454 )
...
Adds support for accessing individual resources from fixed-size global resource arrays.
Design proposal:
https://github.com/llvm/wg-hlsl/blob/main/proposals/0028-resource-arrays.md
Enables indexing into globally scoped, fixed-size resource arrays to retrieve individual resources. The initialization logic is primarily handled during codegen. When a global resource array is indexed, the
codegen translates the `ArraySubscriptExpr` AST node into a constructor call for the corresponding resource record type and binding.
To support this behavior, Sema needs to ensure that:
- The constructor for the specific resource type is instantiated.
- An implicit binding attribute is added to resource arrays that lack explicit bindings (#152452 ).
Closes #145424
2025-08-18 18:20:46 -07:00
..
2025-08-18 13:46:43 +02:00
2025-07-10 09:57:07 +08:00
2025-05-23 18:22:49 +02:00
2025-06-26 14:12:51 +02:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-05-28 13:58:47 -06:00
2025-05-20 06:31:13 -07:00
2025-08-01 22:23:30 -04:00
2025-07-02 16:55:24 +02:00
2025-06-06 09:16:41 -07:00
2025-07-03 07:13:30 -07:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-08-04 10:58:19 +02:00
2025-08-15 08:02:14 +01:00
2025-07-29 09:01:37 +01:00
2025-07-01 22:49:48 -07:00
2025-08-09 05:06:53 -03:00
2025-04-02 10:40:05 +02:00
2025-05-25 10:55:32 -07:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-08-14 06:14:43 -07:00
2025-08-09 05:06:53 -03:00
2025-07-30 14:07:06 +08:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-08-19 00:10:53 +03:00
2025-08-09 05:06:53 -03:00
2025-08-16 02:04:31 -03:00
2025-08-09 05:06:53 -03:00
2025-05-25 10:55:32 -07:00
2025-08-09 05:06:53 -03:00
2025-08-14 06:14:43 -07:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-08-18 18:20:46 -07:00
2025-08-18 14:22:31 +00:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-05-30 10:29:00 +08:00
2025-07-15 16:51:08 -07:00
2025-08-18 14:17:35 +08:00
2025-07-15 16:51:08 -07:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-08-18 07:37:45 -07:00
2025-07-24 08:11:28 -07:00
2025-08-13 07:47:39 -07:00
2025-05-02 09:42:16 -07:00
2025-05-29 10:25:53 +02:00
2025-08-09 05:06:53 -03:00
2025-08-14 18:42:59 -07:00
2025-08-09 05:06:53 -03:00
2025-05-02 12:30:08 +03:00
2025-08-04 10:54:50 +02:00
2025-07-16 11:28:55 -07:00
2025-08-11 11:03:01 +02:00
2025-08-09 05:06:53 -03:00
2025-07-29 11:53:02 +08:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-08-09 20:03:02 -03:00
2025-08-13 02:09:08 -03:00
2025-08-09 05:06:53 -03:00
2025-08-09 05:06:53 -03:00
2025-08-18 02:07:27 -07:00
2025-08-09 05:06:53 -03:00
2025-08-14 13:07:38 -07:00
2025-08-09 05:06:53 -03:00
2025-08-07 13:07:04 -07:00
2025-07-22 13:11:43 +01:00
2025-08-15 17:21:55 -03:00
2025-04-28 06:57:16 +03:00
2025-08-09 05:06:53 -03:00