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
Description
Giving the CreateHandle operation an index that is less-than the binding lower bound fails validation:
Function: main: error: Constant values must be in-range for operation.
note: at '%0 = call %dx.types.Handle @dx.op.createHandle(i32 57, i8 1, i32 1, i32 0, i1 false)' in block 'entry' of function 'main'.
However, this passes the validator if we have the same error but are using DXIL 1.6+'s CreateHandleFromBinding.
Steps to Reproduce
Craft a resource binding with a lower bound greater than zero and then index it at 0.
; call has binding info starting at 1 but index at 0:call%dx.types.Handle@dx.op.createHandleFromBinding(i32217, %dx.types.ResBind { i321, i321, i324, i81 }, i320, i1false)
; metadata for the same binding:
!{i321, %"class.RWBuffer<vector<float, 4> >"* undef, !"", i324, i321, i321, i3210, i1false, i1false, i1false, !7}
Description
Giving the CreateHandle operation an index that is less-than the binding lower bound fails validation:
However, this passes the validator if we have the same error but are using DXIL 1.6+'s CreateHandleFromBinding.
Steps to Reproduce
Craft a resource binding with a lower bound greater than zero and then index it at 0.
Environment
The text was updated successfully, but these errors were encountered: