[{"data":1,"prerenderedAt":445},["ShallowReactive",2],{"$fTMxVeoh2YMXzqiRYFdDrSYdbb0qhyt26mLhuL24dY7A":3},{"title":4,"description":5,"parent":6,"successcodes":7,"errorcodes":9,"type":13,"xrefs":14,"body":15,"_type":444,"_id":4},"vkQueueSetPerfHintQCOM","Set a performance hint on a queue","VK_QCOM_queue_perf_hint",[8],"VK_SUCCESS",[10,11,12],"VK_ERROR_DEVICE_LOST","VK_ERROR_UNKNOWN","VK_ERROR_VALIDATION_FAILED","protos",[],{"type":16,"children":17,"toc":442},"root",[18,35,254,288,354,406,436],{"type":19,"tag":20,"props":21,"children":22},"element","p",{},[23,26,33],{"type":24,"value":25},"text","To set a performance hint on a ",{"type":19,"tag":27,"props":28,"children":30},"a",{"href":29},"/man/VkQueue",[31],{"type":24,"value":32},"VkQueue",{"type":24,"value":34}," object, call:",{"type":19,"tag":36,"props":37,"children":38},"code-group",{},[39,124],{"type":19,"tag":40,"props":41,"children":47},"pre",{"className":42,"code":43,"filename":44,"language":45,"meta":46,"style":46},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkQueueSetPerfHintQCOM(\n VkQueue queue,\n const VkPerfHintInfoQCOM* pPerfHintInfo);\n","C","c","",[48],{"type":19,"tag":49,"props":50,"children":51},"code",{"__ignoreMap":46},[52,74,94],{"type":19,"tag":53,"props":54,"children":57},"span",{"class":55,"line":56},"line",1,[58,64,69],{"type":19,"tag":53,"props":59,"children":61},{"style":60},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[62],{"type":24,"value":63},"VkResult ",{"type":19,"tag":53,"props":65,"children":67},{"style":66},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[68],{"type":24,"value":4},{"type":19,"tag":53,"props":70,"children":71},{"style":60},[72],{"type":24,"value":73},"(\n",{"type":19,"tag":53,"props":75,"children":77},{"class":55,"line":76},2,[78,83,89],{"type":19,"tag":53,"props":79,"children":80},{"style":60},[81],{"type":24,"value":82}," VkQueue ",{"type":19,"tag":53,"props":84,"children":86},{"style":85},"--shiki-default:#953800;--shiki-dark:#FFA657",[87],{"type":24,"value":88},"queue",{"type":19,"tag":53,"props":90,"children":91},{"style":60},[92],{"type":24,"value":93},",\n",{"type":19,"tag":53,"props":95,"children":97},{"class":55,"line":96},3,[98,104,109,114,119],{"type":19,"tag":53,"props":99,"children":101},{"style":100},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[102],{"type":24,"value":103}," const",{"type":19,"tag":53,"props":105,"children":106},{"style":60},[107],{"type":24,"value":108}," VkPerfHintInfoQCOM",{"type":19,"tag":53,"props":110,"children":111},{"style":100},[112],{"type":24,"value":113},"*",{"type":19,"tag":53,"props":115,"children":116},{"style":85},[117],{"type":24,"value":118}," pPerfHintInfo",{"type":19,"tag":53,"props":120,"children":121},{"style":60},[122],{"type":24,"value":123},");\n",{"type":19,"tag":40,"props":125,"children":130},{"className":126,"code":127,"filename":128,"language":129,"meta":46,"style":46},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn queue_set_perf_hint_qcom(\n queue: vk::Queue,\n p_perf_hint_info: *const vk::PerfHintInfoQCOM,\n) -> vk::Result;\n","Rust","rs",[131],{"type":19,"tag":49,"props":132,"children":133},{"__ignoreMap":46},[134,156,188,222],{"type":19,"tag":53,"props":135,"children":136},{"class":55,"line":56},[137,142,147,152],{"type":19,"tag":53,"props":138,"children":139},{"style":100},[140],{"type":24,"value":141},"pub",{"type":19,"tag":53,"props":143,"children":144},{"style":100},[145],{"type":24,"value":146}," fn",{"type":19,"tag":53,"props":148,"children":149},{"style":66},[150],{"type":24,"value":151}," queue_set_perf_hint_qcom",{"type":19,"tag":53,"props":153,"children":154},{"style":60},[155],{"type":24,"value":73},{"type":19,"tag":53,"props":157,"children":158},{"class":55,"line":76},[159,164,169,174,179,184],{"type":19,"tag":53,"props":160,"children":161},{"style":60},[162],{"type":24,"value":163}," queue",{"type":19,"tag":53,"props":165,"children":166},{"style":100},[167],{"type":24,"value":168},":",{"type":19,"tag":53,"props":170,"children":171},{"style":85},[172],{"type":24,"value":173}," vk",{"type":19,"tag":53,"props":175,"children":176},{"style":100},[177],{"type":24,"value":178},"::",{"type":19,"tag":53,"props":180,"children":181},{"style":85},[182],{"type":24,"value":183},"Queue",{"type":19,"tag":53,"props":185,"children":186},{"style":60},[187],{"type":24,"value":93},{"type":19,"tag":53,"props":189,"children":190},{"class":55,"line":96},[191,196,200,205,209,213,218],{"type":19,"tag":53,"props":192,"children":193},{"style":60},[194],{"type":24,"value":195}," p_perf_hint_info",{"type":19,"tag":53,"props":197,"children":198},{"style":100},[199],{"type":24,"value":168},{"type":19,"tag":53,"props":201,"children":202},{"style":100},[203],{"type":24,"value":204}," *const",{"type":19,"tag":53,"props":206,"children":207},{"style":85},[208],{"type":24,"value":173},{"type":19,"tag":53,"props":210,"children":211},{"style":100},[212],{"type":24,"value":178},{"type":19,"tag":53,"props":214,"children":215},{"style":85},[216],{"type":24,"value":217},"PerfHintInfoQCOM",{"type":19,"tag":53,"props":219,"children":220},{"style":60},[221],{"type":24,"value":93},{"type":19,"tag":53,"props":223,"children":225},{"class":55,"line":224},4,[226,231,236,240,244,249],{"type":19,"tag":53,"props":227,"children":228},{"style":60},[229],{"type":24,"value":230},") ",{"type":19,"tag":53,"props":232,"children":233},{"style":100},[234],{"type":24,"value":235},"->",{"type":19,"tag":53,"props":237,"children":238},{"style":85},[239],{"type":24,"value":173},{"type":19,"tag":53,"props":241,"children":242},{"style":100},[243],{"type":24,"value":178},{"type":19,"tag":53,"props":245,"children":246},{"style":85},[247],{"type":24,"value":248},"Result",{"type":19,"tag":53,"props":250,"children":251},{"style":60},[252],{"type":24,"value":253},";\n",{"type":19,"tag":255,"props":256,"children":257},"ul",{},[258,269],{"type":19,"tag":259,"props":260,"children":261},"li",{},[262,267],{"type":19,"tag":49,"props":263,"children":265},{"className":264},[],[266],{"type":24,"value":88},{"type":24,"value":268}," is the queue to set the performance hint on.",{"type":19,"tag":259,"props":270,"children":271},{},[272,278,280,286],{"type":19,"tag":49,"props":273,"children":275},{"className":274},[],[276],{"type":24,"value":277},"pPerfHintInfo",{"type":24,"value":279}," is a pointer to a ",{"type":19,"tag":27,"props":281,"children":283},{"href":282},"/man/VkPerfHintInfoQCOM",[284],{"type":24,"value":285},"VkPerfHintInfoQCOM",{"type":24,"value":287},"\nstructure, describing the performance hint to set.",{"type":19,"tag":289,"props":290,"children":292},"validity-group",{"name":291},"Valid Usage",[293,322],{"type":19,"tag":294,"props":295,"children":297},"validity-field",{"name":296},"VUID-vkQueueSetPerfHintQCOM-queuePerfHint-12387",[298],{"type":19,"tag":20,"props":299,"children":300},{},[301,303,313,315,320],{"type":24,"value":302},"The ",{"type":19,"tag":27,"props":304,"children":306},{"href":305},"/man/VkPhysicalDeviceQueuePerfHintFeaturesQCOM#features-queuePerfHint",[307],{"type":19,"tag":49,"props":308,"children":310},{"className":309},[],[311],{"type":24,"value":312},"queuePerfHint",{"type":24,"value":314}," feature ",{"type":19,"tag":316,"props":317,"children":319},"normative",{"type":318},"must",[],{"type":24,"value":321}," be\nenabled",{"type":19,"tag":294,"props":323,"children":325},{"name":324},"VUID-vkQueueSetPerfHintQCOM-queue-12388",[326],{"type":19,"tag":20,"props":327,"children":328},{},[329,334,336,339,341,347,348],{"type":19,"tag":49,"props":330,"children":332},{"className":331},[],[333],{"type":24,"value":88},{"type":24,"value":335}," ",{"type":19,"tag":316,"props":337,"children":338},{"type":318},[],{"type":24,"value":340}," support at least one of the queue types specified in\n",{"type":19,"tag":27,"props":342,"children":344},{"href":343},"/man/VkPhysicalDeviceQueuePerfHintPropertiesQCOM",[345],{"type":24,"value":346},"VkPhysicalDeviceQueuePerfHintPropertiesQCOM",{"type":24,"value":178},{"type":19,"tag":49,"props":349,"children":351},{"className":350},[],[352],{"type":24,"value":353},"supportedQueues",{"type":19,"tag":289,"props":355,"children":357},{"name":356},"Valid Usage (Implicit)",[358,382],{"type":19,"tag":294,"props":359,"children":361},{"name":360},"VUID-vkQueueSetPerfHintQCOM-queue-parameter",[362],{"type":19,"tag":20,"props":363,"children":364},{},[365,370,371,374,376,380],{"type":19,"tag":49,"props":366,"children":368},{"className":367},[],[369],{"type":24,"value":88},{"type":24,"value":335},{"type":19,"tag":316,"props":372,"children":373},{"type":318},[],{"type":24,"value":375}," be a valid ",{"type":19,"tag":27,"props":377,"children":378},{"href":29},[379],{"type":24,"value":32},{"type":24,"value":381}," handle",{"type":19,"tag":294,"props":383,"children":385},{"name":384},"VUID-vkQueueSetPerfHintQCOM-pPerfHintInfo-parameter",[386],{"type":19,"tag":20,"props":387,"children":388},{},[389,394,395,398,400,404],{"type":19,"tag":49,"props":390,"children":392},{"className":391},[],[393],{"type":24,"value":277},{"type":24,"value":335},{"type":19,"tag":316,"props":396,"children":397},{"type":318},[],{"type":24,"value":399}," be a valid pointer to a valid ",{"type":19,"tag":27,"props":401,"children":402},{"href":282},[403],{"type":24,"value":285},{"type":24,"value":405}," structure",{"type":19,"tag":407,"props":408,"children":410},"validity-box",{"name":409},"Host Synchronization",[411],{"type":19,"tag":255,"props":412,"children":413},{},[414],{"type":19,"tag":259,"props":415,"children":416},{},[417,419,424,425,428,430],{"type":24,"value":418},"Host access to ",{"type":19,"tag":49,"props":420,"children":422},{"className":421},[],[423],{"type":24,"value":88},{"type":24,"value":335},{"type":19,"tag":316,"props":426,"children":427},{"type":318},[],{"type":24,"value":429}," be externally synchronized\nif it was not created with\n",{"type":19,"tag":49,"props":431,"children":433},{"className":432},[],[434],{"type":24,"value":435},"VK_DEVICE_QUEUE_CREATE_INTERNALLY_SYNCHRONIZED_BIT_KHR",{"type":19,"tag":437,"props":438,"children":439},"style",{},[440],{"type":24,"value":441},"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":46,"searchDepth":76,"depth":76,"links":443},[],"markdown",1775207592365]