You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: line 141: OpFunctionCall Argument <id> '90[%90]'s type does not match Function <id> '16[%_Array_std430_float33]'s parameter type.
%91 = OpFunctionCall %void %packStorage_0 %90 %81
Which is confusing and incorrect. The SPIRV code here is using the correct type as argument. %90's type is %_arr_v3float_int_3, and the first parameter of %packStorage_0 also has %_arr_v3float_int_3 type. The function being called is %packStorage_0 but the validation error message says it is '16[%_Array_std430_float33]', which is not a function.
The text was updated successfully, but these errors were encountered:
Further digging into the code reveals that the error is in function packStorage_0, where the OpStore %94 %100 inst doesn't type check. Fixing that also removes the validation error, so the issue is just the diagnostic being confusing.
The following SPIRV triggers a validation error:
spirv-val
outputs this:Which is confusing and incorrect. The SPIRV code here is using the correct type as argument.
%90
's type is%_arr_v3float_int_3
, and the first parameter of%packStorage_0
also has%_arr_v3float_int_3
type. The function being called is%packStorage_0
but the validation error message says it is '16[%_Array_std430_float33]', which is not a function.The text was updated successfully, but these errors were encountered: