Skip to content

Commit cb0797d

Browse files
committed
reflow text
1 parent 41fcc07 commit cb0797d

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

api/opencl_runtime_layer.asciidoc

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4878,11 +4878,10 @@ returned in _errcode_ret_:
48784878
_subresource_ is not a valid subresource index for _resource_.
48794879
* {CL_INVALID_D3D10_RESOURCE_KHR} if _resource_ is not a Direct3D 10
48804880
texture resource, if _resource_ was created with the D3D10_USAGE flag
4881-
D3D10_USAGE_IMMUTABLE, if a
4882-
{cl_mem_TYPE} from subresource _subresource_ of _resource_ has already
4883-
been created using {clCreateFromD3D10Texture3DKHR}, or if _context_ was
4884-
not created against the same Direct3D 10 device from which _resource_
4885-
was created.
4881+
D3D10_USAGE_IMMUTABLE, if a {cl_mem_TYPE} from subresource _subresource_ of
4882+
_resource_ has already been created using {clCreateFromD3D10Texture3DKHR},
4883+
or if _context_ was not created against the same Direct3D 10 device from
4884+
which _resource_ was created.
48864885
* {CL_INVALID_IMAGE_FORMAT_DESCRIPTOR} if the Direct3D 10 texture format
48874886
of _resource_ is not listed in the <<dxgi-image-formats-table, DXGI
48884887
Formats and Corresponding OpenCL Image Formats>> table or if the
@@ -5010,11 +5009,10 @@ returned in _errcode_ret_:
50105009
_subresource_ is not a valid subresource index for _resource_.
50115010
* {CL_INVALID_D3D11_RESOURCE_KHR} if _resource_ is not a Direct3D 11
50125011
texture resource, if _resource_ was created with the D3D11_USAGE flag
5013-
D3D11_USAGE_IMMUTABLE, if a
5014-
{cl_mem_TYPE} from subresource _subresource_ of _resource_ has already
5015-
been created using {clCreateFromD3D11Texture3DKHR}, or if _context_ was
5016-
not created against the same Direct3D 11 device from which _resource_
5017-
was created.
5012+
D3D11_USAGE_IMMUTABLE, if a {cl_mem_TYPE} from subresource _subresource_ of
5013+
_resource_ has already been created using {clCreateFromD3D11Texture3DKHR},
5014+
or if _context_ was not created against the same Direct3D 11 device from
5015+
which _resource_ was created.
50185016
* {CL_INVALID_IMAGE_FORMAT_DESCRIPTOR} if the Direct3D 11 texture format
50195017
of _resource_ is not listed in the <<dxgi-image-formats-table, DXGI
50205018
Formats and Corresponding OpenCL Image Formats>> table or if the

0 commit comments

Comments
 (0)