================
@@ -13431,6 +13431,9 @@ def
err_hlsl_incomplete_resource_array_in_function_param: Error<
"incomplete resource array in a function parameter">;
def err_hlsl_assign_to_global_resource: Error<
"assignment to global resource variable %0 is not allowed">;
+def err_hlsl_assigning_local_resource_is_not_unique
+ : Error<"assignment to local resource %0 is not to same unique global "
+ "resource">;
----------------
Icohedron wrote:
```suggestion
: Error<"assignment to local resource %0 is not to the same unique "
"global resource">;
```
https://github.com/llvm/llvm-project/pull/176793
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits