Browse Source

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.
Erik Faye-Lund 5 years ago
parent
commit
61283fa200
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/DXIL.rst

+ 2 - 2
docs/DXIL.rst

@@ -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)