Skip to content

Commit 41fcc07

Browse files
committed
remove confusing phrase from 3D D3D10 and D3D11 texture errors
Because D3D10 and D3D11 textures cannot be multisampled, there is no need to list this case as a possible error condition.
1 parent 7b5621b commit 41fcc07

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

api/opencl_runtime_layer.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4878,7 +4878,7 @@ 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 _resource_ is a multisampled texture, if a
4881+
D3D10_USAGE_IMMUTABLE, if a
48824882
{cl_mem_TYPE} from subresource _subresource_ of _resource_ has already
48834883
been created using {clCreateFromD3D10Texture3DKHR}, or if _context_ was
48844884
not created against the same Direct3D 10 device from which _resource_
@@ -5010,7 +5010,7 @@ returned in _errcode_ret_:
50105010
_subresource_ is not a valid subresource index for _resource_.
50115011
* {CL_INVALID_D3D11_RESOURCE_KHR} if _resource_ is not a Direct3D 11
50125012
texture resource, if _resource_ was created with the D3D11_USAGE flag
5013-
D3D11_USAGE_IMMUTABLE, if _resource_ is a multisampled texture, if a
5013+
D3D11_USAGE_IMMUTABLE, if a
50145014
{cl_mem_TYPE} from subresource _subresource_ of _resource_ has already
50155015
been created using {clCreateFromD3D11Texture3DKHR}, or if _context_ was
50165016
not created against the same Direct3D 11 device from which _resource_

0 commit comments

Comments
 (0)