[{"data":1,"prerenderedAt":415},["ShallowReactive",2],{"RMuOgf2bVd":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":414,"_id":4},"PointSize","Size of a point primitive","builtins",[],{"type":9,"children":10,"toc":410},"root",[11,24,112,158],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"pointsize",[17],{"type":12,"tag":18,"props":19,"children":21},"code",{"className":20},[],[22],{"type":23,"value":4},"text",{"type":12,"tag":25,"props":26,"children":27},"p",{},[28,30,35,37,44,46,52,54,60,62,68,70,76,78,83,85,91,93,103,105,110],{"type":23,"value":29},"Decorating a variable with the ",{"type":12,"tag":18,"props":31,"children":33},{"className":32},[],[34],{"type":23,"value":4},{"type":23,"value":36}," built-in decoration will make\nthat variable contain the size of point primitives\nor the final rasterization of polygons if ",{"type":12,"tag":38,"props":39,"children":41},"a",{"href":40},"/chapters/primsrast#primsrast-polygonmode",[42],{"type":23,"value":43},"polygon\nmode",{"type":23,"value":45}," is ",{"type":12,"tag":18,"props":47,"children":49},{"className":48},[],[50],{"type":23,"value":51},"VK_POLYGON_MODE_POINT",{"type":23,"value":53}," when\n",{"type":12,"tag":18,"props":55,"children":57},{"className":56},[],[58],{"type":23,"value":59},"VkPhysicalDeviceMaintenance5PropertiesKHR",{"type":23,"value":61},"::",{"type":12,"tag":18,"props":63,"children":65},{"className":64},[],[66],{"type":23,"value":67},"polygonModePointSize",{"type":23,"value":69},"\nis set to ",{"type":12,"tag":18,"props":71,"children":73},{"className":72},[],[74],{"type":23,"value":75},"VK_TRUE",{"type":23,"value":77},"\n.\nThe value written to the variable decorated with ",{"type":12,"tag":18,"props":79,"children":81},{"className":80},[],[82],{"type":23,"value":4},{"type":23,"value":84}," by the last\n",{"type":12,"tag":38,"props":86,"children":88},{"href":87},"/man/VkGraphicsPipelineCreateInfo#pipelines-graphics-subsets-pre-rasterization",[89],{"type":23,"value":90},"pre-rasterization shader\nstage",{"type":23,"value":92}," in the pipeline is used as the framebuffer-space size of points\nproduced by rasterization.\nIf ",{"type":12,"tag":38,"props":94,"children":96},{"href":95},"/man/VkPhysicalDeviceMaintenance5FeaturesKHR#features-maintenance5",[97],{"type":12,"tag":18,"props":98,"children":100},{"className":99},[],[101],{"type":23,"value":102},"maintenance5",{"type":23,"value":104}," is enabled and a value is\nnot written to a variable decorated with ",{"type":12,"tag":18,"props":106,"children":108},{"className":107},[],[109],{"type":23,"value":4},{"type":23,"value":111},", a value of 1.0 is\nused as the size of points.",{"type":12,"tag":113,"props":114,"children":115},"note",{},[116],{"type":12,"tag":25,"props":117,"children":118},{},[119,121,126,128,134,136,142,143,149,151,156],{"type":23,"value":120},"When ",{"type":12,"tag":18,"props":122,"children":124},{"className":123},[],[125],{"type":23,"value":4},{"type":23,"value":127}," decorates a variable in the ",{"type":12,"tag":18,"props":129,"children":131},{"className":130},[],[132],{"type":23,"value":133},"Input",{"type":23,"value":135}," ",{"type":12,"tag":18,"props":137,"children":139},{"className":138},[],[140],{"type":23,"value":141},"Storage",{"type":23,"value":135},{"type":12,"tag":18,"props":144,"children":146},{"className":145},[],[147],{"type":23,"value":148},"Class",{"type":23,"value":150},",\nit contains the data written to the output variable decorated with\n",{"type":12,"tag":18,"props":152,"children":154},{"className":153},[],[155],{"type":23,"value":4},{"type":23,"value":157}," from the previous shader stage.",{"type":12,"tag":159,"props":160,"children":162},"validity-group",{"name":161},"Valid Usage",[163,245,314,391],{"type":12,"tag":164,"props":165,"children":167},"validity-field",{"name":166},"VUID-PointSize-PointSize-04314",[168],{"type":12,"tag":25,"props":169,"children":170},{},[171,173,178,180,185,187,193,195,201,202,208,209,215,217,223,225,231,232,238,239],{"type":23,"value":172},"The ",{"type":12,"tag":18,"props":174,"children":176},{"className":175},[],[177],{"type":23,"value":4},{"type":23,"value":179}," decoration ",{"type":12,"tag":181,"props":182,"children":184},"normative",{"type":183},"must",[],{"type":23,"value":186}," be used only within the\n",{"type":12,"tag":18,"props":188,"children":190},{"className":189},[],[191],{"type":23,"value":192},"MeshEXT",{"type":23,"value":194},", ",{"type":12,"tag":18,"props":196,"children":198},{"className":197},[],[199],{"type":23,"value":200},"MeshNV",{"type":23,"value":194},{"type":12,"tag":18,"props":203,"children":205},{"className":204},[],[206],{"type":23,"value":207},"Vertex",{"type":23,"value":194},{"type":12,"tag":18,"props":210,"children":212},{"className":211},[],[213],{"type":23,"value":214},"TessellationControl",{"type":23,"value":216},",\n",{"type":12,"tag":18,"props":218,"children":220},{"className":219},[],[221],{"type":23,"value":222},"TessellationEvaluation",{"type":23,"value":224},", or ",{"type":12,"tag":18,"props":226,"children":228},{"className":227},[],[229],{"type":23,"value":230},"Geometry",{"type":23,"value":135},{"type":12,"tag":18,"props":233,"children":235},{"className":234},[],[236],{"type":23,"value":237},"Execution",{"type":23,"value":135},{"type":12,"tag":18,"props":240,"children":242},{"className":241},[],[243],{"type":23,"value":244},"Model",{"type":12,"tag":164,"props":246,"children":248},{"name":247},"VUID-PointSize-PointSize-04315",[249],{"type":12,"tag":25,"props":250,"children":251},{},[252,254,259,261,266,267,272,273,278,279,284,285,290,291,294,296,302,303,308,309],{"type":23,"value":253},"The variable decorated with ",{"type":12,"tag":18,"props":255,"children":257},{"className":256},[],[258],{"type":23,"value":4},{"type":23,"value":260}," within the ",{"type":12,"tag":18,"props":262,"children":264},{"className":263},[],[265],{"type":23,"value":192},{"type":23,"value":216},{"type":12,"tag":18,"props":268,"children":270},{"className":269},[],[271],{"type":23,"value":200},{"type":23,"value":224},{"type":12,"tag":18,"props":274,"children":276},{"className":275},[],[277],{"type":23,"value":207},{"type":23,"value":135},{"type":12,"tag":18,"props":280,"children":282},{"className":281},[],[283],{"type":23,"value":237},{"type":23,"value":135},{"type":12,"tag":18,"props":286,"children":288},{"className":287},[],[289],{"type":23,"value":244},{"type":23,"value":135},{"type":12,"tag":181,"props":292,"children":293},{"type":183},[],{"type":23,"value":295}," be declared using the\n",{"type":12,"tag":18,"props":297,"children":299},{"className":298},[],[300],{"type":23,"value":301},"Output",{"type":23,"value":135},{"type":12,"tag":18,"props":304,"children":306},{"className":305},[],[307],{"type":23,"value":141},{"type":23,"value":135},{"type":12,"tag":18,"props":310,"children":312},{"className":311},[],[313],{"type":23,"value":148},{"type":12,"tag":164,"props":315,"children":317},{"name":316},"VUID-PointSize-PointSize-04316",[318,346],{"type":12,"tag":25,"props":319,"children":320},{},[321,322,327,329,334,335,340,341],{"type":23,"value":253},{"type":12,"tag":18,"props":323,"children":325},{"className":324},[],[326],{"type":23,"value":4},{"type":23,"value":328}," within the\n",{"type":12,"tag":18,"props":330,"children":332},{"className":331},[],[333],{"type":23,"value":214},{"type":23,"value":194},{"type":12,"tag":18,"props":336,"children":338},{"className":337},[],[339],{"type":23,"value":222},{"type":23,"value":224},{"type":12,"tag":18,"props":342,"children":344},{"className":343},[],[345],{"type":23,"value":230},{"type":12,"tag":25,"props":347,"children":348},{},[349,354,355,360,361,364,366,371,372,377,379,384,386],{"type":12,"tag":18,"props":350,"children":352},{"className":351},[],[353],{"type":23,"value":237},{"type":23,"value":135},{"type":12,"tag":18,"props":356,"children":358},{"className":357},[],[359],{"type":23,"value":244},{"type":23,"value":135},{"type":12,"tag":181,"props":362,"children":363},{"type":183},[],{"type":23,"value":365}," not be declared using a ",{"type":12,"tag":18,"props":367,"children":369},{"className":368},[],[370],{"type":23,"value":141},{"type":23,"value":135},{"type":12,"tag":18,"props":373,"children":375},{"className":374},[],[376],{"type":23,"value":148},{"type":23,"value":378}," other than\n",{"type":12,"tag":18,"props":380,"children":382},{"className":381},[],[383],{"type":23,"value":133},{"type":23,"value":385}," or ",{"type":12,"tag":18,"props":387,"children":389},{"className":388},[],[390],{"type":23,"value":301},{"type":12,"tag":164,"props":392,"children":394},{"name":393},"VUID-PointSize-PointSize-04317",[395],{"type":12,"tag":25,"props":396,"children":397},{},[398,399,404,405,408],{"type":23,"value":253},{"type":12,"tag":18,"props":400,"children":402},{"className":401},[],[403],{"type":23,"value":4},{"type":23,"value":135},{"type":12,"tag":181,"props":406,"children":407},{"type":183},[],{"type":23,"value":409}," be declared as a scalar\n32-bit floating-point value",{"title":411,"searchDepth":412,"depth":412,"links":413},"",2,[],"markdown",1729612426279]