Correct function name for RawBufferLoad (#2804)
`@dx.op.bufferLoad` is for `BufferLoad`, not `RawBufferLoad`. Similar to the previous, the appropriate function for `RawBufferStore` is `@dx.op.rawBufferStore`. This matches what DxilOperations.cpp does.
This commit is contained in:
Родитель
9007354c61
Коммит
61283fa200
|
@ -1731,7 +1731,7 @@ The following signature shows the operation syntax::
|
|||
|
||||
; overloads: SM5.1: f32|i32, SM6.0: f32|i32, SM6.2: f16|f32|i16|i32
|
||||
; returns: status
|
||||
declare %dx.types.ResRet.f32 @dx.op.bufferLoad.f32(
|
||||
declare %dx.types.ResRet.f32 @dx.op.rawBufferLoad.f32(
|
||||
i32, ; opcode
|
||||
%dx.types.Handle, ; resource handle
|
||||
i32, ; coordinate c0 (index)
|
||||
|
@ -1784,7 +1784,7 @@ RawBufferStore
|
|||
The following signature shows the operation syntax::
|
||||
|
||||
; overloads: SM5.1: f32|i32, SM6.0: f32|i32, SM6.2: f16|f32|i16|i32
|
||||
declare void @dx.op.bufferStore.f32(
|
||||
declare void @dx.op.rawBufferStore.f32(
|
||||
i32, ; opcode
|
||||
%dx.types.Handle, ; resource handle
|
||||
i32, ; coordinate c0 (index)
|
||||
|
|
Загрузка…
Ссылка в новой задаче