[clang] [HLSL] Split out resource class data from resource attribute (PR #98419)

Damyan Pepper via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 11 11:26:20 PDT 2024


================
@@ -12313,6 +12313,7 @@ def err_hlsl_missing_semantic_annotation : Error<
 def err_hlsl_init_priority_unsupported : Error<
   "initializer priorities are not supported in HLSL">;
 
+def err_hlsl_unsupported_resource_class : Error<"invalid resource class '%0' used; expected 'SRV', 'UAV', 'CBuffer', or 'Sampler'">;
----------------
damyanp wrote:

I don't think `err_hlsl_unsupported_resource_class` is used any more?

https://github.com/llvm/llvm-project/pull/98419


More information about the cfe-commits mailing list