[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/lib/vulkan][debian-unstable] 2 commits: Add man pages for vulkaninfo and vulkan-smoketest.



Title: GitLab

Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / vulkan

Commits:

8 changed files:

Changes:

  • debian/changelog
    ... ... @@ -2,10 +2,13 @@ vulkan (1.0.65.2+dfsg1-2) UNRELEASED; urgency=medium
    2 2
     
    
    3 3
       [ Timo Aaltonen ]
    
    4 4
       * copyright: Updated. (Closes: #881014)
    
    5
    +  * Package vulkan-glslang and vulkan-spirv, thanks Brett Johnson!
    
    6
    +    (Closes: #884865)
    
    5 7
     
    
    6 8
       [ Andreas Boll ]
    
    7 9
       * debian/get-external.sh: Append external Git revisions of glslang,
    
    8 10
         spirv-tools and spirv-headers to the commit message.
    
    11
    +  * Add man pages for vulkaninfo and vulkan-smoketest.
    
    9 12
     
    
    10 13
      -- Timo Aaltonen <tjaalton@debian.org>  Wed, 10 Jan 2018 16:48:30 +0200
    
    11 14
     
    

  • debian/control
    ... ... @@ -58,3 +58,28 @@ Breaks: vulkan-sdk-runtime
    58 58
     Replaces: vulkan-sdk-runtime
    
    59 59
     Description: Miscellaneous Vulkan utilities
    
    60 60
      This package provides utilities for Vulkan, including vulkaninfo.
    
    61
    +
    
    62
    +Package: vulkan-glslang
    
    63
    +Architecture: linux-any
    
    64
    +Section: libdevel
    
    65
    +Depends: ${shlibs:Depends}, ${misc:Depends},
    
    66
    + libvulkan1 (= ${binary:Version}),
    
    67
    +Description: Khronos reference front-end for GLSL and ESSL, and sample SPIR-V generator
    
    68
    + Khronos reference front-end for GLSL and ESSL, and sample SPIR-V generator, but
    
    69
    + built specifically from the vulkan repository for vulkan.
    
    70
    +
    
    71
    +Package: vulkan-spirv
    
    72
    +Architecture: linux-any
    
    73
    +Section: libdevel
    
    74
    +Depends: ${shlibs:Depends}, ${misc:Depends},
    
    75
    + libvulkan1 (= ${binary:Version}),
    
    76
    +Description: API and commands for processing SPIR-V modules
    
    77
    + The SPIR-V Tools project provides an API and commands for processing SPIR-V
    
    78
    + modules.
    
    79
    + .
    
    80
    + The project includes an assembler, binary module parser, disassembler,
    
    81
    + validator, and optimizer for SPIR-V. Except for the optimizer, all are based on
    
    82
    + a common static library. The library contains all of the implementation
    
    83
    + details, and is used in the standalone tools whilst also enabling integration
    
    84
    + into other code bases directly. The optimizer implementation resides in its own
    
    85
    + library, which depends on the core library.

  • debian/rules
    ... ... @@ -26,7 +26,7 @@ build_spirv:
    26 26
     	cd external/glslang/build && \
    
    27 27
     	(cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ..; make $(MAKE_FLAGS); make install)
    
    28 28
     	cd external/spirv-tools/build/ && \
    
    29
    -	(cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ..; make $(MAKE_FLAGS))
    
    29
    +	(cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ..; make $(MAKE_FLAGS); make install)
    
    30 30
     
    
    31 31
     override_dh_auto_configure: build_spirv
    
    32 32
     	dh_auto_configure -- \
    
    ... ... @@ -43,6 +43,12 @@ override_dh_auto_install:
    43 43
     	mkdir -p debian/tmp/usr/include
    
    44 44
     	cp -rp include/vulkan debian/tmp/usr/include
    
    45 45
     
    
    46
    +	mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
    
    47
    +	cp -rp external/glslang/build/install/lib/* \
    
    48
    +		debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
    
    49
    +	cp -rp external/spirv-tools/build/install/lib/* \
    
    50
    +		debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
    
    51
    +
    
    46 52
     	mkdir -p debian/tmp/usr/share/vulkan/explicit_layer.d
    
    47 53
     	mkdir -p debian/tmp/usr/share/vulkan/implicit_layer.d
    
    48 54
     	mv debian/tmp/etc/vulkan/explicit_layer.d/*.json \
    

  • debian/vulkan-glslang.install
    1
    +external/glslang/build/install/bin/* usr/bin
    
    2
    +external/glslang/build/install/include/* usr/include
    
    3
    +usr/lib/*/libHLSL.a
    
    4
    +usr/lib/*/libOGLCompiler.a
    
    5
    +usr/lib/*/libOSDependent.a
    
    6
    +usr/lib/*/libSPIRV.a
    
    7
    +usr/lib/*/libSPVRemapper.a
    
    8
    +usr/lib/*/libglslang.a

  • debian/vulkan-smoketest.1
    1
    +.TH vulkan-smoketest 1 "2018-01-25"
    
    2
    +.SH NAME
    
    3
    +vulkan-smoketest \- a Vulkan demo application
    
    4
    +.SH SYNOPSIS
    
    5
    +.B vulkan-smoketest
    
    6
    +.RI [ options ]
    
    7
    +.SH DESCRIPTION
    
    8
    +The \fIvulkan-smoketest\fP program demonstrates multi-thread command buffer
    
    9
    +recording. It displays lots of moving and rotating 3D objects like teapots,
    
    10
    +spheres and pyramids.
    
    11
    +.SH OPTIONS
    
    12
    +.TP
    
    13
    +.B \-\-b
    
    14
    +Disable vsync.
    
    15
    +.TP
    
    16
    +.B \-\-w \fIwidth\fP
    
    17
    +Set initial width. The default width is 1280.
    
    18
    +.TP
    
    19
    +.B \-\-h \fIheight\fP
    
    20
    +Set initial height. The default height is 1024.
    
    21
    +.TP
    
    22
    +\fB\-\-v\fP, \fB\-\-validate\fP
    
    23
    +Enable validation.
    
    24
    +.TP
    
    25
    +.B \-\-vv
    
    26
    +Enable verbose validation.
    
    27
    +.TP
    
    28
    +.B \-\-nt
    
    29
    +Disable tick.
    
    30
    +.TP
    
    31
    +.B \-\-nr
    
    32
    +Disable rendering.
    
    33
    +.TP
    
    34
    +.B \-\-np
    
    35
    +Disable presentation.
    
    36
    +.TP
    
    37
    +.B \-\-flush
    
    38
    +Flush buffers.
    
    39
    +.TP
    
    40
    +.B \-\-c \fImax_count\fP
    
    41
    +Set max frame count.
    
    42
    +.TP
    
    43
    +.B \-s
    
    44
    +Use single-thread mode.
    
    45
    +.TP
    
    46
    +.B \-p
    
    47
    +Use push constants.
    
    48
    +.SH INTERACTIVE CONTROL
    
    49
    +The following keys may be pressed while vulkan-smoketest is running:
    
    50
    +.TP
    
    51
    +.B Up
    
    52
    +Zoom in.
    
    53
    +.TP
    
    54
    +.B Down
    
    55
    +Zoom out.
    
    56
    +.TP
    
    57
    +.B Space
    
    58
    +Pause / Unpause.
    
    59
    +.TP
    
    60
    +.B Esc
    
    61
    +Quit.
    
    62
    +.SH AUTHOR
    
    63
    +vulkan-smoketest was originally written by Google, Inc.
    
    64
    +.PP
    
    65
    +This manual page was written by Andreas Boll <andreas.boll.dev@gmail.com>, for
    
    66
    +the Debian project (but may be used by others).

  • debian/vulkan-spirv.install
    1
    +external/spirv-tools/build/install/bin/* usr/bin
    
    2
    +external/spirv-tools/build/install/include/spirv-tools/* usr/include/spirv-tools
    
    3
    +usr/lib/*/libSPIRV-Tools.a
    
    4
    +usr/lib/*/libSPIRV-Tools-link.a
    
    5
    +usr/lib/*/libSPIRV-Tools-opt.a

  • debian/vulkan-utils.manpages
    1
    +debian/vulkaninfo.1
    
    2
    +debian/vulkan-smoketest.1

  • debian/vulkaninfo.1
    1
    +.TH vulkaninfo 1 "2018-01-25"
    
    2
    +.SH NAME
    
    3
    +vulkaninfo \- show Vulkan information
    
    4
    +.SH SYNOPSIS
    
    5
    +.B vulkaninfo
    
    6
    +.SH DESCRIPTION
    
    7
    +The \fIvulkaninfo\fP program shows information about the supported Vulkan
    
    8
    +capabilities. It lists not only device properties and features, but also
    
    9
    +supported Vulkan layers and extensions.
    
    10
    +.SH AUTHOR
    
    11
    +vulkaninfo was originally written by LunarG, Inc.
    
    12
    +.PP
    
    13
    +This manual page was written by Andreas Boll <andreas.boll.dev@gmail.com>, for
    
    14
    +the Debian project (but may be used by others).


  • Reply to: