• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2022-2024 The Khronos Group Inc.
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5// Common Valid Usage
6// Common limits for draw mesh commands
7
8  * [[VUID-{refpage}-TaskEXT-07322]]
9    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
10    contains a shader using the code:TaskEXT {ExecutionModel},
11    pname:groupCountX must: be less than or equal to
12    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxTaskWorkGroupCount[0]
13  * [[VUID-{refpage}-TaskEXT-07323]]
14    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
15    contains a shader using the code:TaskEXT {ExecutionModel},
16    pname:groupCountY must: be less than or equal to
17    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxTaskWorkGroupCount[1]
18  * [[VUID-{refpage}-TaskEXT-07324]]
19    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
20    contains a shader using the code:TaskEXT {ExecutionModel},
21    pname:groupCountZ must: be less than or equal to
22    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxTaskWorkGroupCount[2]
23  * [[VUID-{refpage}-TaskEXT-07325]]
24    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
25    contains a shader using the code:TaskEXT {ExecutionModel}, The product
26    of pname:groupCountX, pname:groupCountY and pname:groupCountZ must: be
27    less than or equal to
28    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxTaskWorkGroupTotalCount
29  * [[VUID-{refpage}-TaskEXT-07326]]
30    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
31    does not contain a shader using the code:TaskEXT {ExecutionModel},
32    pname:groupCountX must: be less than or equal to
33    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxMeshWorkGroupCount[0]
34  * [[VUID-{refpage}-TaskEXT-07327]]
35    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
36    does not contain a shader using the code:TaskEXT {ExecutionModel},
37    pname:groupCountY must: be less than or equal to
38    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxMeshWorkGroupCount[1]
39  * [[VUID-{refpage}-TaskEXT-07328]]
40    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
41    does not contain a shader using the code:TaskEXT {ExecutionModel},
42    pname:groupCountZ must: be less than or equal to
43    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxMeshWorkGroupCount[2]
44  * [[VUID-{refpage}-TaskEXT-07329]]
45    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
46    does not contain a shader using the code:TaskEXT {ExecutionModel}, The
47    product of pname:groupCountX, pname:groupCountY and pname:groupCountZ
48    must: be less than or equal to
49    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxMeshWorkGroupTotalCount
50
51// Common Valid Usage
52