Skip to content

Commit 8a5bfa7

Browse files
author
Ewan Crawford
committed
Cosmetic tweaks to native enqueue spec
Pedantic things I noticed while reading spec.
1 parent 8cc2b87 commit 8a5bfa7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

scripts/core/EXP-NATIVE-ENQUEUE.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ within the native API through the function passed to
3232
${x}EnqueueNativeCommandExp, the function argument must only use the native
3333
queue accessed through ${x}QueueGetNativeHandle. Use of a native queue that is
3434
not the native queue returned by ${x}QueueGetNativeHandle results in undefined
35-
behaviour.
35+
behavior.
3636

37-
Any args that are needed by the func must be passed through a void* and unpacked
38-
within the func. If ${x}_mem_handle_t arguments are to be used within
39-
pfnNativeEnqueue, they must be accessed using ${x}MemGetNativeHandle.
40-
${x}_mem_handle_t arguments must be packed in the void* argument that will be
41-
used in pfnNativeEnqueue, as well as ${x}EnqueueNativeCommandExp's phMemList
37+
Any args that are needed by the func must be passed through a `void*` and unpacked
38+
within the func. If `${x}_mem_handle_t` arguments are to be used within
39+
`pfnNativeEnqueue`, they must be accessed using ${x}MemGetNativeHandle.
40+
`${x}_mem_handle_t` arguments must be packed in the void* argument that will be
41+
used in `pfnNativeEnqueue`, as well as ${x}EnqueueNativeCommandExp's `phMemList`
4242
argument.
4343

4444
API
@@ -76,7 +76,7 @@ Support
7676
--------------------------------------------------------------------------------
7777

7878
Adapters which support this experimental feature *must* return true for the new
79-
`${X}_DEVICE_INFO_ENQUEUE_NATIVE_COMMAND_SUPPORT_EXP` device info query.
79+
${X}_DEVICE_INFO_ENQUEUE_NATIVE_COMMAND_SUPPORT_EXP device info query.
8080

8181

8282
Contributors

0 commit comments

Comments
 (0)