[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[82d46cc6] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[a80c832] | 7 | <!ENTITY spirv-headers-download-http "https://github.com/KhronosGroup/SPIRV-Headers/archive/vulkan-sdk-&spirv-headers-version;/SPIRV-Headers-&spirv-headers-version;.tar.gz">
|
---|
[82d46cc6] | 8 | <!ENTITY spirv-headers-download-ftp " ">
|
---|
[c7ea582d] | 9 | <!ENTITY spirv-headers-md5sum "e9da8c949d89084b8a0a6b128ca6a30d">
|
---|
| 10 | <!ENTITY spirv-headers-size "512 KB">
|
---|
| 11 | <!ENTITY spirv-headers-buildsize "4.4 MB">
|
---|
[82d46cc6] | 12 | <!ENTITY spirv-headers-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="spirv-headers" xreflabel="SPIRV-Headers-&spirv-headers-version;">
|
---|
| 16 | <?dbhtml filename="spirv-headers.html"?>
|
---|
| 17 |
|
---|
| 18 | <title>SPIRV-Headers-&spirv-headers-version;</title>
|
---|
| 19 |
|
---|
| 20 | <indexterm zone="spirv-headers">
|
---|
| 21 | <primary sortas="a-spirv-headers">SPIRV-Headers</primary>
|
---|
| 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="package">
|
---|
| 25 | <title>Introduction to SPIRV-Headers</title>
|
---|
| 26 |
|
---|
| 27 | <para>
|
---|
| 28 | The <application>SPIRV-Headers</application> package contains headers
|
---|
[c7ea582d] | 29 | that allow for applications to use the SPIR-V language and instruction
|
---|
| 30 | set with Vulkan. SPIR-V is a binary intermediate language for
|
---|
| 31 | representing graphical shader stages and compute kernels for multiple
|
---|
| 32 | Khronos APIs, including OpenGL and Vulkan.
|
---|
[82d46cc6] | 33 | </para>
|
---|
| 34 |
|
---|
[d4dc5bae] | 35 | &lfs122_checked;
|
---|
[82d46cc6] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&spirv-headers-download-http;"/>
|
---|
| 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&spirv-headers-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download MD5 sum: &spirv-headers-md5sum;
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download size: &spirv-headers-size;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Estimated disk space required: &spirv-headers-buildsize;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated build time: &spirv-headers-time;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect3">SPIRV-Headers Dependencies</bridgehead>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 74 | <para role="required">
|
---|
| 75 | <xref linkend="cmake"/>
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2 role="installation">
|
---|
| 81 | <title>Installation of SPIRV-Headers</title>
|
---|
| 82 |
|
---|
| 83 | <note>
|
---|
| 84 | <para>
|
---|
| 85 | This tarball
|
---|
[f46dc8ea] | 86 | <filename>SPIRV-Headers-&spirv-headers-version;.tar.gz</filename> will
|
---|
[82d46cc6] | 87 | extract to the directory
|
---|
| 88 | <filename class="directory">SPIRV-Headers-vulkan-sdk-&spirv-headers-version;</filename>.
|
---|
| 89 | </para>
|
---|
| 90 | </note>
|
---|
| 91 |
|
---|
| 92 | <para>
|
---|
| 93 | Install <application>SPIRV-Headers</application> by running the following
|
---|
| 94 | commands:
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
| 97 | <screen><userinput>mkdir build &&
|
---|
| 98 | cd build &&
|
---|
| 99 |
|
---|
[cbfa153] | 100 | cmake -D CMAKE_INSTALL_PREFIX=/usr -G Ninja .. &&
|
---|
[82d46cc6] | 101 | ninja</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | This package does not come with a test suite.
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
| 108 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="content">
|
---|
| 116 | <title>Contents</title>
|
---|
| 117 |
|
---|
| 118 | <segmentedlist>
|
---|
| 119 | <segtitle>Installed Programs</segtitle>
|
---|
| 120 | <segtitle>Installed Libraries</segtitle>
|
---|
| 121 | <segtitle>Installed Directories</segtitle>
|
---|
| 122 |
|
---|
| 123 | <seglistitem>
|
---|
| 124 | <seg>
|
---|
| 125 | None
|
---|
| 126 | </seg>
|
---|
| 127 | <seg>
|
---|
| 128 | None
|
---|
| 129 | </seg>
|
---|
| 130 | <seg>
|
---|
| 131 | /usr/include/spirv and
|
---|
| 132 | /usr/share/cmake/SPIRV-Headers
|
---|
| 133 | </seg>
|
---|
| 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | </sect2>
|
---|
| 138 | </sect1>
|
---|