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
test_bindless.hlsl:8:20: error: no member named 'Load' in 'ByteAddressBuffer'
return buf.Load<T>(0);
~~~ ^
test_bindless.hlsl:8:25: error: 'T' does not refer to a value
return buf.Load<T>(0);
^
test_bindless.hlsl:5:23: note: declared here
template<typename T>
^
test_bindless.hlsl:21:5: warning: ignoring return value of function that only reads data [-Wunused-value]
buf.Load<uint>(0);
^~~~~~~~~~~~~~ ~
Notice, this doesn't just affect ByteAddressBuffer but all resource types it seems (StructuredBuffer, Texture etc).
The text was updated successfully, but these errors were encountered:
Works:
dxc -Tcs_6_6 -Emain -enable-templates test_bindless.hlsl
Doesn't work:
dxc -Tcs_6_6 -Emain -enable-templates -DFAILURE_CASE test_bindless.hlsl
Errors generated:
Notice, this doesn't just affect ByteAddressBuffer but all resource types it seems (StructuredBuffer, Texture etc).
The text was updated successfully, but these errors were encountered: