[{"data":1,"prerenderedAt":323},["ShallowReactive",2],{"$f88ziIcoVLuAZl-ItfBS9p8sBbTvIKUjJc5Bd4rCnT3Y":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":322,"_id":4},"vkClearShaderInstrumentationMetricsARM","Clear shader instrumentation metrics to zero","VK_ARM_shader_instrumentation","protos",[],{"type":10,"children":11,"toc":320},"root",[12,18,25,206,231,314],{"type":13,"tag":14,"props":15,"children":17},"element","anchor",{"id":16},"shaders-instrumentation-clear",[],{"type":13,"tag":19,"props":20,"children":21},"p",{},[22],{"type":23,"value":24},"text","To clear the value of all metric blocks in an instrumentation object to\nzero, call:",{"type":13,"tag":26,"props":27,"children":28},"code-group",{},[29,105],{"type":13,"tag":30,"props":31,"children":37},"pre",{"className":32,"code":33,"filename":34,"language":35,"meta":36,"style":36},"language-c shiki shiki-themes github-light-default github-dark-default","void vkClearShaderInstrumentationMetricsARM(\n VkDevice device,\n VkShaderInstrumentationARM instrumentation);\n","C","c","",[38],{"type":13,"tag":39,"props":40,"children":41},"code",{"__ignoreMap":36},[42,66,86],{"type":13,"tag":43,"props":44,"children":47},"span",{"class":45,"line":46},"line",1,[48,54,60],{"type":13,"tag":43,"props":49,"children":51},{"style":50},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[52],{"type":23,"value":53},"void",{"type":13,"tag":43,"props":55,"children":57},{"style":56},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[58],{"type":23,"value":59}," vkClearShaderInstrumentationMetricsARM",{"type":13,"tag":43,"props":61,"children":63},{"style":62},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[64],{"type":23,"value":65},"(\n",{"type":13,"tag":43,"props":67,"children":69},{"class":45,"line":68},2,[70,75,81],{"type":13,"tag":43,"props":71,"children":72},{"style":62},[73],{"type":23,"value":74}," VkDevice ",{"type":13,"tag":43,"props":76,"children":78},{"style":77},"--shiki-default:#953800;--shiki-dark:#FFA657",[79],{"type":23,"value":80},"device",{"type":13,"tag":43,"props":82,"children":83},{"style":62},[84],{"type":23,"value":85},",\n",{"type":13,"tag":43,"props":87,"children":89},{"class":45,"line":88},3,[90,95,100],{"type":13,"tag":43,"props":91,"children":92},{"style":62},[93],{"type":23,"value":94}," VkShaderInstrumentationARM ",{"type":13,"tag":43,"props":96,"children":97},{"style":77},[98],{"type":23,"value":99},"instrumentation",{"type":13,"tag":43,"props":101,"children":102},{"style":62},[103],{"type":23,"value":104},");\n",{"type":13,"tag":30,"props":106,"children":111},{"className":107,"code":108,"filename":109,"language":110,"meta":36,"style":36},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn clear_shader_instrumentation_metrics_arm(\n device: vk::Device,\n instrumentation: vk::ShaderInstrumentationARM,\n);\n","Rust","rs",[112],{"type":13,"tag":39,"props":113,"children":114},{"__ignoreMap":36},[115,137,169,198],{"type":13,"tag":43,"props":116,"children":117},{"class":45,"line":46},[118,123,128,133],{"type":13,"tag":43,"props":119,"children":120},{"style":50},[121],{"type":23,"value":122},"pub",{"type":13,"tag":43,"props":124,"children":125},{"style":50},[126],{"type":23,"value":127}," fn",{"type":13,"tag":43,"props":129,"children":130},{"style":56},[131],{"type":23,"value":132}," clear_shader_instrumentation_metrics_arm",{"type":13,"tag":43,"props":134,"children":135},{"style":62},[136],{"type":23,"value":65},{"type":13,"tag":43,"props":138,"children":139},{"class":45,"line":68},[140,145,150,155,160,165],{"type":13,"tag":43,"props":141,"children":142},{"style":62},[143],{"type":23,"value":144}," device",{"type":13,"tag":43,"props":146,"children":147},{"style":50},[148],{"type":23,"value":149},":",{"type":13,"tag":43,"props":151,"children":152},{"style":77},[153],{"type":23,"value":154}," vk",{"type":13,"tag":43,"props":156,"children":157},{"style":50},[158],{"type":23,"value":159},"::",{"type":13,"tag":43,"props":161,"children":162},{"style":77},[163],{"type":23,"value":164},"Device",{"type":13,"tag":43,"props":166,"children":167},{"style":62},[168],{"type":23,"value":85},{"type":13,"tag":43,"props":170,"children":171},{"class":45,"line":88},[172,177,181,185,189,194],{"type":13,"tag":43,"props":173,"children":174},{"style":62},[175],{"type":23,"value":176}," instrumentation",{"type":13,"tag":43,"props":178,"children":179},{"style":50},[180],{"type":23,"value":149},{"type":13,"tag":43,"props":182,"children":183},{"style":77},[184],{"type":23,"value":154},{"type":13,"tag":43,"props":186,"children":187},{"style":50},[188],{"type":23,"value":159},{"type":13,"tag":43,"props":190,"children":191},{"style":77},[192],{"type":23,"value":193},"ShaderInstrumentationARM",{"type":13,"tag":43,"props":195,"children":196},{"style":62},[197],{"type":23,"value":85},{"type":13,"tag":43,"props":199,"children":201},{"class":45,"line":200},4,[202],{"type":13,"tag":43,"props":203,"children":204},{"style":62},[205],{"type":23,"value":104},{"type":13,"tag":207,"props":208,"children":209},"ul",{},[210,221],{"type":13,"tag":211,"props":212,"children":213},"li",{},[214,219],{"type":13,"tag":39,"props":215,"children":217},{"className":216},[],[218],{"type":23,"value":80},{"type":23,"value":220}," is the logical device that owns the shader instrumentation\nobject.",{"type":13,"tag":211,"props":222,"children":223},{},[224,229],{"type":13,"tag":39,"props":225,"children":227},{"className":226},[],[228],{"type":23,"value":99},{"type":23,"value":230}," is the shader instrumentation object to clear.",{"type":13,"tag":232,"props":233,"children":235},"validity-group",{"name":234},"Valid Usage (Implicit)",[236,267,291],{"type":13,"tag":237,"props":238,"children":240},"validity-field",{"name":239},"VUID-vkClearShaderInstrumentationMetricsARM-device-parameter",[241],{"type":13,"tag":19,"props":242,"children":243},{},[244,249,251,256,258,265],{"type":13,"tag":39,"props":245,"children":247},{"className":246},[],[248],{"type":23,"value":80},{"type":23,"value":250}," ",{"type":13,"tag":252,"props":253,"children":255},"normative",{"type":254},"must",[],{"type":23,"value":257}," be a valid ",{"type":13,"tag":259,"props":260,"children":262},"a",{"href":261},"/man/VkDevice",[263],{"type":23,"value":264},"VkDevice",{"type":23,"value":266}," handle",{"type":13,"tag":237,"props":268,"children":270},{"name":269},"VUID-vkClearShaderInstrumentationMetricsARM-instrumentation-parameter",[271],{"type":13,"tag":19,"props":272,"children":273},{},[274,279,280,283,284,290],{"type":13,"tag":39,"props":275,"children":277},{"className":276},[],[278],{"type":23,"value":99},{"type":23,"value":250},{"type":13,"tag":252,"props":281,"children":282},{"type":254},[],{"type":23,"value":257},{"type":13,"tag":259,"props":285,"children":287},{"href":286},"/man/VkShaderInstrumentationARM",[288],{"type":23,"value":289},"VkShaderInstrumentationARM",{"type":23,"value":266},{"type":13,"tag":237,"props":292,"children":294},{"name":293},"VUID-vkClearShaderInstrumentationMetricsARM-instrumentation-parent",[295],{"type":13,"tag":19,"props":296,"children":297},{},[298,303,304,307,309],{"type":13,"tag":39,"props":299,"children":301},{"className":300},[],[302],{"type":23,"value":99},{"type":23,"value":250},{"type":13,"tag":252,"props":305,"children":306},{"type":254},[],{"type":23,"value":308}," have been created, allocated, or retrieved from ",{"type":13,"tag":39,"props":310,"children":312},{"className":311},[],[313],{"type":23,"value":80},{"type":13,"tag":315,"props":316,"children":317},"style",{},[318],{"type":23,"value":319},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":68,"depth":68,"links":321},[],"markdown",1773121624127]