Skip to content

Commit 2f8b814

Browse files
author
Ewan Crawford
authored
Fix parameter description of command-buffer API (#748)
The `clCommandCopyBufferRectKHR` entry-point defined by `cl_khr_command_buffer` has an incorrect description for parameter `mutable_handle`. It should be identical to the `mutable_handle` descriptions for all the other command recording entry-points in the extension.
1 parent 591eb71 commit 2f8b814

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ext/cl_khr_command_buffer.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,8 +997,8 @@ complete. If the _sync_point_wait_list_ and the _sync_point_ arguments are not
997997
`NULL`, the _sync_point_ argument should not refer to an element of the
998998
_sync_point_wait_list_ array.
999999

1000-
_mutable_handle_ may be `NULL`, however the command will still be mutable if
1001-
_command_buffer_ was created with `CL_MUTABLE_MEM_COMMANDS_ENABLE_KHR`.
1000+
_mutable_handle_ Returns a handle to the command. Handle is unused by
1001+
this extension and must be passed as `NULL`.
10021002

10031003
*clCommandCopyBufferRectKHR* returns `CL_SUCCESS` if the function is executed
10041004
successfully. Otherwise, it returns the errors defined by

0 commit comments

Comments
 (0)