summaryrefslogtreecommitdiff
path: root/chapters/commonvalidity/draw_mesh_limits_common.adoc
blob: aa6b473bfb45a8ddeda58ac2f2d904cfdafe953d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Copyright 2022-2024 The Khronos Group Inc.
//
// SPDX-License-Identifier: CC-BY-4.0

// Common Valid Usage
// Common limits for draw mesh commands

  * [[VUID-{refpage}-TaskEXT-07322]]
    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
    contains a shader using the code:TaskEXT {ExecutionModel},
    pname:groupCountX must: be less than or equal to
    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxTaskWorkGroupCount[0]
  * [[VUID-{refpage}-TaskEXT-07323]]
    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
    contains a shader using the code:TaskEXT {ExecutionModel},
    pname:groupCountY must: be less than or equal to
    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxTaskWorkGroupCount[1]
  * [[VUID-{refpage}-TaskEXT-07324]]
    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
    contains a shader using the code:TaskEXT {ExecutionModel},
    pname:groupCountZ must: be less than or equal to
    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxTaskWorkGroupCount[2]
  * [[VUID-{refpage}-TaskEXT-07325]]
    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
    contains a shader using the code:TaskEXT {ExecutionModel}, The product
    of pname:groupCountX, pname:groupCountY and pname:groupCountZ must: be
    less than or equal to
    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxTaskWorkGroupTotalCount
  * [[VUID-{refpage}-TaskEXT-07326]]
    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
    does not contain a shader using the code:TaskEXT {ExecutionModel},
    pname:groupCountX must: be less than or equal to
    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxMeshWorkGroupCount[0]
  * [[VUID-{refpage}-TaskEXT-07327]]
    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
    does not contain a shader using the code:TaskEXT {ExecutionModel},
    pname:groupCountY must: be less than or equal to
    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxMeshWorkGroupCount[1]
  * [[VUID-{refpage}-TaskEXT-07328]]
    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
    does not contain a shader using the code:TaskEXT {ExecutionModel},
    pname:groupCountZ must: be less than or equal to
    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxMeshWorkGroupCount[2]
  * [[VUID-{refpage}-TaskEXT-07329]]
    If the current pipeline bound to ename:VK_PIPELINE_BIND_POINT_GRAPHICS
    does not contain a shader using the code:TaskEXT {ExecutionModel}, The
    product of pname:groupCountX, pname:groupCountY and pname:groupCountZ
    must: be less than or equal to
    sname:VkPhysicalDeviceMeshShaderPropertiesEXT::pname:maxMeshWorkGroupTotalCount

// Common Valid Usage