Issue |
98193
|
Summary |
[HLSL] Split [[clang::hlsl_resource_class]] out of the HLSLResource attribute
|
Labels |
metabug,
HLSL
|
Assignees |
|
Reporter |
bogner
|
Create a new `clang::hlsl_resource_class` attribute to replace the resource class argument of the HLSLResource unspellable attribute. The attribute should be spellable so that we can use it to simplify testing.
AC:
- The attribute `[[clang::hlsl_resource_class(...)]]` can be applied to types in HLSL source
- The attribute is parametrized with uav, srv, cbuffer, or sampler
- HLSLResource no longer has a ResourceClass argument, and existing code that used that now uses the new attribute
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs