Most HLSL resource types accept an element type, through a template parameter: ```c++ RWBuffer<float2> buffer; Texture2D<float4> texture; StructuredBuffer<MyStruct> anotherBuffer; ``` - [x] #69 - [x] #64 - [x] llvm/llvm-project#113223 - [x] llvm/llvm-project#113224 - [x] llvm/llvm-project#75676
Most HLSL resource types accept an element type, through a template parameter:
__builtin_hlsl_is_typed_resource_element_compatiblebuiltin llvm-project#113223