{"id":1325,"date":"2018-06-07T15:00:21","date_gmt":"2018-06-07T21:00:21","guid":{"rendered":"https:\/\/www.lunarg.com\/?p=1325"},"modified":"2025-01-15T18:14:19","modified_gmt":"2025-01-16T01:14:19","slug":"lunarg-updates-spirv-opt-white-paper","status":"publish","type":"post","link":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/","title":{"rendered":"LunarG updates spirv-opt white paper"},"content":{"rendered":"<p>LunarG has updated its white paper that describes using spirv-opt to reduce SPIR-V size. This revision includes many changes made since the last update in December 2017.<\/p>\n<p><!--more--><\/p>\n<p>New\u00a0discussion includes 1) using spirv-opt to &#8220;legalize&#8221; SPIR-V when generated from HLSL, 2) SPIR-V integration with the glslang and dxc frontends, 3) description of new size reduction passes available in spirv-opt,\u00a0and 4) updates to the recommended recipe for those who wish to customize their optimization.<\/p>\n<h2><strong>More information<\/strong><\/h2>\n<p>See the updated white paper,\u00a0<a href=\"https:\/\/www.lunarg.com\/wp-content\/uploads\/2018\/06\/SPIR-V-Shader-Legalization-and-Size-Reduction-Using-spirv-opt_v1.2.pdf\"><strong>SPIR-V Shader Legalization and Size Reduction Using spirv-opt_v1.2<\/strong>,<\/a>\u00a0for the details.<\/p>\n<p>For more information about LunarG, visit our <strong><a href=\"https:\/\/www.lunarg.com\/\">website<\/a><\/strong>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LunarG has updated its white paper that describes using spirv-opt to reduce SPIR-V size. This revision includes many changes made since the last update in December 2017.<\/p>\n","protected":false},"author":14,"featured_media":1959,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[131],"tags":[9,33],"class_list":["post-1325","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-white-papers","tag-spir-v","tag-spirv-opt"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>LunarG updates spirv-opt white paper - LunarG<\/title>\n<meta name=\"description\" content=\"LunarG updates spirv-opt white paper. Discusses Vulkan legalization, integration with frontends, new size-reduction passes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LunarG updates spirv-opt white paper - LunarG\" \/>\n<meta property=\"og:description\" content=\"LunarG updates spirv-opt white paper. Discusses Vulkan legalization, integration with frontends, new size-reduction passes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/\" \/>\n<meta property=\"og:site_name\" content=\"LunarG\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-07T21:00:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-16T01:14:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lunarg.com\/wp-content\/uploads\/2019\/09\/iStock-1155410378-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"755\" \/>\n\t<meta property=\"og:image:height\" content=\"395\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Dave Desormeaux\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dave Desormeaux\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/\"},\"author\":{\"name\":\"Dave Desormeaux\",\"@id\":\"https:\/\/www.lunarg.com\/#\/schema\/person\/493f4ece901c822208cfda3feb80420a\"},\"headline\":\"LunarG updates spirv-opt white paper\",\"datePublished\":\"2018-06-07T21:00:21+00:00\",\"dateModified\":\"2025-01-16T01:14:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/\"},\"wordCount\":102,\"publisher\":{\"@id\":\"https:\/\/www.lunarg.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.lunarg.com\/wp-content\/uploads\/2019\/09\/iStock-1155410378-2.jpg\",\"keywords\":[\"spir-v\",\"spirv-opt\"],\"articleSection\":[\"White Papers\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/\",\"url\":\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/\",\"name\":\"LunarG updates spirv-opt white paper - LunarG\",\"isPartOf\":{\"@id\":\"https:\/\/www.lunarg.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.lunarg.com\/wp-content\/uploads\/2019\/09\/iStock-1155410378-2.jpg\",\"datePublished\":\"2018-06-07T21:00:21+00:00\",\"dateModified\":\"2025-01-16T01:14:19+00:00\",\"description\":\"LunarG updates spirv-opt white paper. Discusses Vulkan legalization, integration with frontends, new size-reduction passes.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#primaryimage\",\"url\":\"https:\/\/www.lunarg.com\/wp-content\/uploads\/2019\/09\/iStock-1155410378-2.jpg\",\"contentUrl\":\"https:\/\/www.lunarg.com\/wp-content\/uploads\/2019\/09\/iStock-1155410378-2.jpg\",\"width\":755,\"height\":395,\"caption\":\"Creative concept of shape fluid mixed blue, red and green paints\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.lunarg.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"LunarG updates spirv-opt white paper\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.lunarg.com\/#website\",\"url\":\"https:\/\/www.lunarg.com\/\",\"name\":\"LunarG\",\"description\":\"3D Graphics Software Solutions\",\"publisher\":{\"@id\":\"https:\/\/www.lunarg.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.lunarg.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.lunarg.com\/#organization\",\"name\":\"LunarG\",\"url\":\"https:\/\/www.lunarg.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.lunarg.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.lunarg.com\/wp-content\/uploads\/2020\/05\/logo.png\",\"contentUrl\":\"https:\/\/www.lunarg.com\/wp-content\/uploads\/2020\/05\/logo.png\",\"width\":767,\"height\":304,\"caption\":\"LunarG\"},\"image\":{\"@id\":\"https:\/\/www.lunarg.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.lunarg.com\/#\/schema\/person\/493f4ece901c822208cfda3feb80420a\",\"name\":\"Dave Desormeaux\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.lunarg.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/89944424b10c09db4e6c6e62b6ef1722?s=96&d=retro&r=pg\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/89944424b10c09db4e6c6e62b6ef1722?s=96&d=retro&r=pg\",\"caption\":\"Dave Desormeaux\"},\"sameAs\":[\"http:\/\/www.lunarg.com\"],\"url\":\"https:\/\/www.lunarg.com\/author\/dave-d\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"LunarG updates spirv-opt white paper - LunarG","description":"LunarG updates spirv-opt white paper. Discusses Vulkan legalization, integration with frontends, new size-reduction passes.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/","og_locale":"en_US","og_type":"article","og_title":"LunarG updates spirv-opt white paper - LunarG","og_description":"LunarG updates spirv-opt white paper. Discusses Vulkan legalization, integration with frontends, new size-reduction passes.","og_url":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/","og_site_name":"LunarG","article_published_time":"2018-06-07T21:00:21+00:00","article_modified_time":"2025-01-16T01:14:19+00:00","og_image":[{"width":755,"height":395,"url":"https:\/\/www.lunarg.com\/wp-content\/uploads\/2019\/09\/iStock-1155410378-2.jpg","type":"image\/jpeg"}],"author":"Dave Desormeaux","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Dave Desormeaux"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#article","isPartOf":{"@id":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/"},"author":{"name":"Dave Desormeaux","@id":"https:\/\/www.lunarg.com\/#\/schema\/person\/493f4ece901c822208cfda3feb80420a"},"headline":"LunarG updates spirv-opt white paper","datePublished":"2018-06-07T21:00:21+00:00","dateModified":"2025-01-16T01:14:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/"},"wordCount":102,"publisher":{"@id":"https:\/\/www.lunarg.com\/#organization"},"image":{"@id":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lunarg.com\/wp-content\/uploads\/2019\/09\/iStock-1155410378-2.jpg","keywords":["spir-v","spirv-opt"],"articleSection":["White Papers"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/","url":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/","name":"LunarG updates spirv-opt white paper - LunarG","isPartOf":{"@id":"https:\/\/www.lunarg.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#primaryimage"},"image":{"@id":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lunarg.com\/wp-content\/uploads\/2019\/09\/iStock-1155410378-2.jpg","datePublished":"2018-06-07T21:00:21+00:00","dateModified":"2025-01-16T01:14:19+00:00","description":"LunarG updates spirv-opt white paper. Discusses Vulkan legalization, integration with frontends, new size-reduction passes.","breadcrumb":{"@id":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#primaryimage","url":"https:\/\/www.lunarg.com\/wp-content\/uploads\/2019\/09\/iStock-1155410378-2.jpg","contentUrl":"https:\/\/www.lunarg.com\/wp-content\/uploads\/2019\/09\/iStock-1155410378-2.jpg","width":755,"height":395,"caption":"Creative concept of shape fluid mixed blue, red and green paints"},{"@type":"BreadcrumbList","@id":"https:\/\/www.lunarg.com\/lunarg-updates-spirv-opt-white-paper\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lunarg.com\/"},{"@type":"ListItem","position":2,"name":"LunarG updates spirv-opt white paper"}]},{"@type":"WebSite","@id":"https:\/\/www.lunarg.com\/#website","url":"https:\/\/www.lunarg.com\/","name":"LunarG","description":"3D Graphics Software Solutions","publisher":{"@id":"https:\/\/www.lunarg.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lunarg.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.lunarg.com\/#organization","name":"LunarG","url":"https:\/\/www.lunarg.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lunarg.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.lunarg.com\/wp-content\/uploads\/2020\/05\/logo.png","contentUrl":"https:\/\/www.lunarg.com\/wp-content\/uploads\/2020\/05\/logo.png","width":767,"height":304,"caption":"LunarG"},"image":{"@id":"https:\/\/www.lunarg.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.lunarg.com\/#\/schema\/person\/493f4ece901c822208cfda3feb80420a","name":"Dave Desormeaux","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lunarg.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/89944424b10c09db4e6c6e62b6ef1722?s=96&d=retro&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/89944424b10c09db4e6c6e62b6ef1722?s=96&d=retro&r=pg","caption":"Dave Desormeaux"},"sameAs":["http:\/\/www.lunarg.com"],"url":"https:\/\/www.lunarg.com\/author\/dave-d\/"}]}},"_links":{"self":[{"href":"https:\/\/www.lunarg.com\/wp-json\/wp\/v2\/posts\/1325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lunarg.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lunarg.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lunarg.com\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lunarg.com\/wp-json\/wp\/v2\/comments?post=1325"}],"version-history":[{"count":0,"href":"https:\/\/www.lunarg.com\/wp-json\/wp\/v2\/posts\/1325\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lunarg.com\/wp-json\/wp\/v2\/media\/1959"}],"wp:attachment":[{"href":"https:\/\/www.lunarg.com\/wp-json\/wp\/v2\/media?parent=1325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lunarg.com\/wp-json\/wp\/v2\/categories?post=1325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lunarg.com\/wp-json\/wp\/v2\/tags?post=1325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}