10 Commits

Author SHA256 Message Date
7b22d5d3b6 Accepting request 1301122 from graphics
- Update to version 1.17:
  - Initial HLSL support for thread group shared memory.
  - Several features have been implemented for the experimental Metal Shading Language target.
  - Miscellaneous bug fixes. (forwarded request 1301121 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/1301122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vkd3d?expand=0&rev=20
2025-08-25 18:37:50 +00:00
c1bfe41da7 - Update to version 1.17:
- Initial HLSL support for thread group shared memory.
  - Several features have been implemented for the experimental Metal Shading Language target.
  - Miscellaneous bug fixes.

OBS-URL: https://build.opensuse.org/package/show/graphics/vkd3d?expand=0&rev=65
2025-08-24 09:02:45 +00:00
ca54b06a87 Accepting request 1285025 from graphics
Update to version 1.16

If you have any suggestions for improvement, please let me know! (forwarded request 1284966 from DarkWav)

OBS-URL: https://build.opensuse.org/request/show/1285025
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vkd3d?expand=0&rev=19
2025-06-12 13:54:06 +00:00
2d97ba8b21 Accepting request 1284966 from home:DarkWav
Update to version 1.16

If you have any suggestions for improvement, please let me know!

OBS-URL: https://build.opensuse.org/request/show/1284966
OBS-URL: https://build.opensuse.org/package/show/graphics/vkd3d?expand=0&rev=63
2025-06-12 06:14:26 +00:00
31ceccfc8b Accepting request 1250439 from graphics
- Update to version 1.15:
  - libvkd3d
    vkd3d_queue_signal_on_cpu() allows a Direct3D 12 fence to be
    signalled when all preceding work on a Direct3D 12 command queue
    has been submitted to the corresponding Vulkan queue.
  - libvkd3d-shader
    New features for the HLSL source type:
      ‘InputPatch’ and ‘OutputPatch’ tessellation shader objects.
      This was the main feature required by most tessellation shaders
      that was still missing, and tessellation shaders should be
      considered generally usable now.
      Unrolling of loops containing conditional jumps.
      Improved function overload resolution. Previously the compiler
      was unable to decide between multiple function overloads with
      the same number of parameters.
      The parser is able to continue parsing in a larger number of
      error cases. This allows more issues in the input to be
      reported during a single compilaton attempt.
      The following intrinsic functions are supported:
        GatherCmp()
        GatherCmpAlpha(), GatherCmpBlue(), GatherCmpGreen(), and
        GatherCmpRed()
        InterlockedAdd(), InterlockedAnd(),
        InterlockedCompareExchange(),
        InterlockedCompareStore(), InterlockedExchange(),
        InterlockedMax(),
        InterlockedMin(), InterlockedOr(), and InterlockedXor()
        isinf()
      Separate resource and sampler support for shader model 1-3
      target profiles.
      Casts on the left hand side of assignments.
      Reassociation and redistribution of constants in binary
      expressions, to facilitate constant folding.
      Packing of interstage I/O variables with the ‘SV_IsFrontFace’,
      ‘SV_PrimitiveID’, ‘SV_RenderTargetArrayIndex’,
      ‘SV_SampleIndex’, and ‘SV_ViewPortArrayIndex’ semantics
      matches d3dcompiler/fxc more closely.
      Parser support for the ‘LineStream’, ‘PointStream’,
      and ‘TriangleStream’ Stream-Output objects.
    A number of instructions have been implemented for the
    experimental MSL target. Although more and more shaders are
    starting to work, support is still fairly limited. For example,
    shader resource views and unordered access views are still
    entirely unsupported.
    Shader code generation for fixed-function fog. Like the existing
    shader code generation for other fixed-function features, this
    is mainly relevant for executing shader model 1-3 sources in
    modern target environments like Vulkan.
    The ‘fx’ parser can parse binary effects containing inline
    shader blobs.
    Internal validator support for validating I/O signatures, as
    well as I/O source and destination parameters. The validator is
    enabled by the ‘force_validation’ option, specified through the
    VKD3D_SHADER_CONFIG environment variable.
    Internal validator support for validating the number of indices
    used with a register, as well as basic bounds checking for
    static indices.
    New interfaces:
      The vkd3d_shader_scan_hull_shader_tessellation_info structure
      extends the vkd3d_shader_compile_info structure, and can be
      used to retrieve the output primitive type and partitioning
      mode used by a hull shader. This information is particularly
      useful for specifying
      vkd3d_shader_spirv_domain_shader_target_info structures when
      targetting SPIR-V in OpenGL environments.
      The VKD3D_SHADER_PARAMETER_NAME_FOG_FRAGMENT_MODE shader
      parameter specifies the kind of fog to generate in a fragment
      shader.
      The VKD3D_SHADER_PARAMETER_NAME_FOG_COLOUR shader parameter
      specifies the fog colour.
      The VKD3D_SHADER_PARAMETER_NAME_FOG_END shader parameter
      specifies the ‘end’ parameter used for linear fog generation.
      The VKD3D_SHADER_PARAMETER_NAME_FOG_SCALE shader parameter
      specifies the ‘scale’ parameter used for fog generation.
      The VKD3D_SHADER_PARAMETER_NAME_FOG_SOURCE shader parameter
      specifies the kind of fog coordinate to output from a
      pre-rasterisation shader.
  - vkd3d-compiler
    The new ‘dxbc-fx’ source type specifies an effect binary
    embedded in a DXBC container. This is a convenience feature;
    ‘vkd3d-compiler -x dxbc-fx blob.dxbc’ is equivalent to
    ‘vkd3d-dxbc -x t:FX10 blob.dxbc | vkd3d-compiler -x fx’. (forwarded request 1250433 from llyyr)

OBS-URL: https://build.opensuse.org/request/show/1250439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vkd3d?expand=0&rev=18
2025-03-06 13:48:44 +00:00
c71e2856b4 - Update to version 1.15:
- libvkd3d
    vkd3d_queue_signal_on_cpu() allows a Direct3D 12 fence to be
    signalled when all preceding work on a Direct3D 12 command queue
    has been submitted to the corresponding Vulkan queue.
  - libvkd3d-shader
    New features for the HLSL source type:
      ‘InputPatch’ and ‘OutputPatch’ tessellation shader objects.
      This was the main feature required by most tessellation shaders
      that was still missing, and tessellation shaders should be
      considered generally usable now.
      Unrolling of loops containing conditional jumps.
      Improved function overload resolution. Previously the compiler
      was unable to decide between multiple function overloads with
      the same number of parameters.
      The parser is able to continue parsing in a larger number of
      error cases. This allows more issues in the input to be
      reported during a single compilaton attempt.
      The following intrinsic functions are supported:
        GatherCmp()
        GatherCmpAlpha(), GatherCmpBlue(), GatherCmpGreen(), and
        GatherCmpRed()
        InterlockedAdd(), InterlockedAnd(),
        InterlockedCompareExchange(),
        InterlockedCompareStore(), InterlockedExchange(),
        InterlockedMax(),
        InterlockedMin(), InterlockedOr(), and InterlockedXor()
        isinf()
      Separate resource and sampler support for shader model 1-3
      target profiles.
      Casts on the left hand side of assignments.
      Reassociation and redistribution of constants in binary
      expressions, to facilitate constant folding.
      Packing of interstage I/O variables with the ‘SV_IsFrontFace’,
      ‘SV_PrimitiveID’, ‘SV_RenderTargetArrayIndex’,
      ‘SV_SampleIndex’, and ‘SV_ViewPortArrayIndex’ semantics
      matches d3dcompiler/fxc more closely.
      Parser support for the ‘LineStream’, ‘PointStream’,
      and ‘TriangleStream’ Stream-Output objects.
    A number of instructions have been implemented for the
    experimental MSL target. Although more and more shaders are
    starting to work, support is still fairly limited. For example,
    shader resource views and unordered access views are still
    entirely unsupported.
    Shader code generation for fixed-function fog. Like the existing
    shader code generation for other fixed-function features, this
    is mainly relevant for executing shader model 1-3 sources in
    modern target environments like Vulkan.
    The ‘fx’ parser can parse binary effects containing inline
    shader blobs.
    Internal validator support for validating I/O signatures, as
    well as I/O source and destination parameters. The validator is
    enabled by the ‘force_validation’ option, specified through the
    VKD3D_SHADER_CONFIG environment variable.
    Internal validator support for validating the number of indices
    used with a register, as well as basic bounds checking for
    static indices.
    New interfaces:
      The vkd3d_shader_scan_hull_shader_tessellation_info structure
      extends the vkd3d_shader_compile_info structure, and can be
      used to retrieve the output primitive type and partitioning
      mode used by a hull shader. This information is particularly
      useful for specifying
      vkd3d_shader_spirv_domain_shader_target_info structures when
      targetting SPIR-V in OpenGL environments.
      The VKD3D_SHADER_PARAMETER_NAME_FOG_FRAGMENT_MODE shader
      parameter specifies the kind of fog to generate in a fragment
      shader.
      The VKD3D_SHADER_PARAMETER_NAME_FOG_COLOUR shader parameter
      specifies the fog colour.
      The VKD3D_SHADER_PARAMETER_NAME_FOG_END shader parameter
      specifies the ‘end’ parameter used for linear fog generation.
      The VKD3D_SHADER_PARAMETER_NAME_FOG_SCALE shader parameter
      specifies the ‘scale’ parameter used for fog generation.
      The VKD3D_SHADER_PARAMETER_NAME_FOG_SOURCE shader parameter
      specifies the kind of fog coordinate to output from a
      pre-rasterisation shader.
  - vkd3d-compiler
    The new ‘dxbc-fx’ source type specifies an effect binary
    embedded in a DXBC container. This is a convenience feature;
    ‘vkd3d-compiler -x dxbc-fx blob.dxbc’ is equivalent to
    ‘vkd3d-dxbc -x t:FX10 blob.dxbc | vkd3d-compiler -x fx’.

OBS-URL: https://build.opensuse.org/package/show/graphics/vkd3d?expand=0&rev=61
2025-03-05 14:31:09 +00:00
41d119b23d Accepting request 1226084 from graphics
Update to version 1.14

If you have any suggestions for improvement, please let me know! (forwarded request 1226009 from DarkWav)

OBS-URL: https://build.opensuse.org/request/show/1226084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vkd3d?expand=0&rev=17
2024-11-25 22:20:13 +00:00
945e856935 Update to version 1.14
If you have any suggestions for improvement, please let me know!

OBS-URL: https://build.opensuse.org/package/show/graphics/vkd3d?expand=0&rev=59
2024-11-24 11:13:53 +00:00
bea960d9d0 Accepting request 1219916 from graphics
- generate demo and docs, seperating them out into their own packages
- be more explicit with buildflags, enabling opengl
- write the spec file in more modern layout (forwarded request 1219907 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1219916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vkd3d?expand=0&rev=16
2024-11-01 20:04:39 +00:00
6e4cae825c - generate demo and docs, seperating them out into their own packages
- be more explicit with buildflags, enabling opengl
- write the spec file in more modern layout

OBS-URL: https://build.opensuse.org/package/show/graphics/vkd3d?expand=0&rev=57
2024-10-31 16:50:57 +00:00
7 changed files with 430 additions and 119 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf637873695fcc02fab308f68608f0bbb90481332a2ff0a9597c7c9fd97d363d
size 1123980

View File

@@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAmbQWCMACgkQzvrI6q8X
UZ2hlQ/+MP24mAPwH+JeWQ8I3N/NOXcnB3LYaFSYYxIrtwkXVPmbiP/6Swo9ebVW
V8j7X1r1apbooPfJVxY2Xx0IBC0BtOMsofShXWLm7az1LLHZDxOSrsNzhzQH6gKP
uaGG6K1PAZFy+SBzY2IZ+CuvExPyUh69ax/ewUbRpRbpIGKWD5r/eh6rQsmXdXtI
ARR7FcOUXYDNr/deMYXfbcPKdVHgCES4my2gaksxdxbm5XJWNGoXRi8yuXk2wS8H
2lAtahJBGrHCSVgzBVH+IDJ8gNJvgX3Mf9kHy1z9WIlbO2g6auc3nhNma/L8J6MN
1cEL42eGCGEaV0w6lz7CS+tm9Uq/WL6TQvus3rIsfnTXWOK7BmE3T/0O24fbKQt5
RhJLMetfJLJmZQjfihcGrWzhu4u/zueAIRH1+rOCjuWIkRez0/G0hdMkF9ICO3H5
XKgjx0M40ewKaTI5BtwkfAiuq9k7f2cpYzAAoSgXE0BPX2spVU2gaQYEKkHmeXTK
uP9aUfK3ujzk8ZaRGHhai98acfYOjiFqgJ0oTEu35TTRl8L4qHj25SjVkLg/kCmF
XmgLQc2EeII3d14fefMpsf6CU++EryGs6SmJhW1S2Z6OxOPsPCtWbr/eEsSXPNQ+
4MA6XdCrfNPSYL6AzTa4pAkArV10QY3KCzQpQeKBsH6vL/PrVrQ=
=xCjR
-----END PGP SIGNATURE-----

3
vkd3d-1.17.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc61cb9e84d5045cbcaffbdd707940d399d8bf62874663dfe5809a0bfb87e9b6
size 1370788

16
vkd3d-1.17.tar.xz.sign Normal file
View File

@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAmim/5EACgkQzvrI6q8X
UZ0Uhw/9Ei8DAfdLCYEO1R7NtUl/hcpgEX9GWN3VzRwXKwhiH2HSpFyaKIboXu9I
3TrzloLF7LQmgxMXJQOVAAJP2b+WOfY0gHcCuQn9GHm7CNcCaYz4QD3XXAdF5fmS
JfXsRU7DxccE23Izg/EgeTdHKN78UL3NEKS/JZx96TQ8zk+lzlQX6YEjJXqgIVd7
1hANSBi/n4SKGVwfKVl+5DGUQeckpiWmmX3BH7+qef8cRhi+27c44qFxiNoYrcR0
D6dW7eMxlfNFQksCb4OiZK4RZsPrlR4+5cRxJtG0HOTVrVFozF/qqU9Cpa3A86pE
LQTpG/ujjW5pOy+4+7WuwbAAmWaIdH+6y7M/Hv/RiRwETKq333NIglVrZs7N0P0l
HyHYMyUO/LVuzVngJ299kFe820R2XBjGyGCsMd+Wh9dOMQyghKt/1FLnnXNXs4d3
ZfwZlwM10eaz42/SWZGF0hqNtB8HNlUnFWNivMxW1J6Bh7HGsehh+LR+Nssrswhr
yT+DZbPmKOhN+12EpfCERzg0gz/3YqkOGMEuqLWz0GBAIk9zAR7xaJB5rXo1Ge0d
gjNpmN2bzVkT+9eFpv+vwmh7LtR93U7nCTxitPuZiDhCp3VnBTnjwaLD59wXOg9C
9IyC9Favio+S0wxMhjHDo58FPL2x7Gn3prOHoBCwlHUpaKVmYCs=
=KwQN
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,224 @@
-------------------------------------------------------------------
Sun Aug 24 08:56:58 UTC 2025 - Marcus Meissner <meissner@suse.com>
- Update to version 1.17:
- Initial HLSL support for thread group shared memory.
- Several features have been implemented for the experimental Metal Shading Language target.
- Miscellaneous bug fixes.
-------------------------------------------------------------------
Thu Jun 12 02:18:29 UTC 2025 - Simon Vogl <simon.vogl@gmx.net>
- Update to version 1.16:
- libvkd3d
DXIL shaders are supported in the default configuration.
Previously this required building vkd3d with the
-DVKD3D_SHADER_UNSUPPORTED_DXIL preprocessor option. The
also raises the maximum supported shader model to version 6.0.
Graphics pipeline state objects can be created from shaders
with embedded root signatures. This was already possible for
compute pipeline state objects.
The SetEventOnMultipleFenceCompletion() method of the
ID3D12Device1 interface is implemented.
When the VK_KHR_zero_initialize_workgroup_memory extension is
supported, libvkd3d supports zero-initialising compute shader
thread group shared memory.
The VK_KHR_maintenance2 extension is now explicitly required.
libvkd3d already unconditionally used features provided by
this extension, but unfortunately didn't explicitly require it.
Support for this extension is widespread, and the extension is
part of Vulkan 1.1.
- libvkd3d-shader
The previously experimental support for compiling DXIL shaders
is now a supported feature and enabled by default. Please note
that this feature is nevertheless still far from perfect.
New features for the HLSL source type:
Initial support for geometry shaders.
Indirect addressing in shader model 1-3 target profiles.
Modulus and truncation operations in shader model 1-3 target
profiles.
Vectorised output code.
Further improved constant folding and propagation.
The following intrinsic functions are supported:
AllMemoryBarrier()
AllMemoryBarrierWithGroupSync()
DeviceMemoryBarrier()
DeviceMemoryBarrierWithGroupSync()
GroupMemoryBarrier()
GroupMemoryBarrierWithGroupSync()
The .Length Texture object property.
The SV_RenderTargetArrayIndex and SV_ViewportArrayIndex
semantics in tessellation shaders.
Disassembler support for binary fx_2_0 effects.
Experimental built-in support for disassembling SPIR-V
shaders, enabled by building vkd3d with the
-DVKD3D_SHADER_UNSUPPORTED_SPIRV_PARSER preprocessor option.
When enabled, the built-in SPIR-V disassembler is used instead
of SPIRV-Tools for the spirv-text target type, as well as
for the debug output enabled by the VKD3D_SHADER_DEBUG
environment variable.
The experimental OpenGL Shading Language (GLSL) target
supports indirect addressing of constant buffers.
The experimental Metal Shading Language (MSL) target supports
texture loads.
New interfaces:
The VKD3D_SHADER_COMPILE_OPTION_FEATURE_ZERO_INITIALIZE
_WORKGROUP_MEMORY flag indicates support for
zero-initialising workgroup memory in the SPIR-V target
environment.
The VKD3D_SHADER_COMPONENT_INT64 enumeration value indicates
a 64-bit signed integer value.
The VKD3D_SHADER_COMPONENT_FLOAT16 enumeration value
indicates a 16-bit IEEE floating-point value.
The VKD3D_SHADER_COMPONENT_UINT16 enumeration value
indicates a 16-bit unsigned integer value.
The VKD3D_SHADER_COMPONENT_INT16 enumeration value indicates
a 16-bit signed integer value.
When targeting VKD3D_SHADER_API_1_16, the
VKD3D_SHADER_RESOURCE_DATA_NONE enumeration value is
returned for the resource_data_type field in the
vkd3d_shader_descriptor_info structure for sampler
descriptors. VKD3D_SHADER_API_1_15 and before use the
VKD3D_SHADER_RESOURCE_DATA_UINT enumeration value for this.
- demos
The vkd3d demos now work on both the Microsoft Windows and
Apple macOS builds. The macOS versions of the vkd3d demos are
completely new in vkd3d 1.16, while the Windows demos could
previously be built, but only worked on Wine. Note that the
vkd3d demos produced by a Windows build of vkd3d are distinct
from those produced by the make crosstest target: the former
are Vulkan applications using vkd3d, while the latter are
Direct3D 12 applications.
The vkd3d demos have basic support for DPI scaling.
- build
Perl and the JSON Perl module have been added as build
dependencies.
These are used for the experimental built-in SPIR-V
disassembler, as well as for the macOS versions of the vkd3d
demos.
-------------------------------------------------------------------
Wed Mar 5 13:52:20 UTC 2025 - llyyr <llyyr@yukari.in>
- Update to version 1.15:
- libvkd3d
vkd3d_queue_signal_on_cpu() allows a Direct3D 12 fence to be
signalled when all preceding work on a Direct3D 12 command queue
has been submitted to the corresponding Vulkan queue.
- libvkd3d-shader
New features for the HLSL source type:
InputPatch and OutputPatch tessellation shader objects.
This was the main feature required by most tessellation shaders
that was still missing, and tessellation shaders should be
considered generally usable now.
Unrolling of loops containing conditional jumps.
Improved function overload resolution. Previously the compiler
was unable to decide between multiple function overloads with
the same number of parameters.
The parser is able to continue parsing in a larger number of
error cases. This allows more issues in the input to be
reported during a single compilaton attempt.
The following intrinsic functions are supported:
GatherCmp()
GatherCmpAlpha(), GatherCmpBlue(), GatherCmpGreen(), and
GatherCmpRed()
InterlockedAdd(), InterlockedAnd(),
InterlockedCompareExchange(),
InterlockedCompareStore(), InterlockedExchange(),
InterlockedMax(),
InterlockedMin(), InterlockedOr(), and InterlockedXor()
isinf()
Separate resource and sampler support for shader model 1-3
target profiles.
Casts on the left hand side of assignments.
Reassociation and redistribution of constants in binary
expressions, to facilitate constant folding.
Packing of interstage I/O variables with the SV_IsFrontFace,
SV_PrimitiveID, SV_RenderTargetArrayIndex,
SV_SampleIndex, and SV_ViewPortArrayIndex semantics
matches d3dcompiler/fxc more closely.
Parser support for the LineStream, PointStream,
and TriangleStream Stream-Output objects.
A number of instructions have been implemented for the
experimental MSL target. Although more and more shaders are
starting to work, support is still fairly limited. For example,
shader resource views and unordered access views are still
entirely unsupported.
Shader code generation for fixed-function fog. Like the existing
shader code generation for other fixed-function features, this
is mainly relevant for executing shader model 1-3 sources in
modern target environments like Vulkan.
The fx parser can parse binary effects containing inline
shader blobs.
Internal validator support for validating I/O signatures, as
well as I/O source and destination parameters. The validator is
enabled by the force_validation option, specified through the
VKD3D_SHADER_CONFIG environment variable.
Internal validator support for validating the number of indices
used with a register, as well as basic bounds checking for
static indices.
New interfaces:
The vkd3d_shader_scan_hull_shader_tessellation_info structure
extends the vkd3d_shader_compile_info structure, and can be
used to retrieve the output primitive type and partitioning
mode used by a hull shader. This information is particularly
useful for specifying
vkd3d_shader_spirv_domain_shader_target_info structures when
targetting SPIR-V in OpenGL environments.
The VKD3D_SHADER_PARAMETER_NAME_FOG_FRAGMENT_MODE shader
parameter specifies the kind of fog to generate in a fragment
shader.
The VKD3D_SHADER_PARAMETER_NAME_FOG_COLOUR shader parameter
specifies the fog colour.
The VKD3D_SHADER_PARAMETER_NAME_FOG_END shader parameter
specifies the end parameter used for linear fog generation.
The VKD3D_SHADER_PARAMETER_NAME_FOG_SCALE shader parameter
specifies the scale parameter used for fog generation.
The VKD3D_SHADER_PARAMETER_NAME_FOG_SOURCE shader parameter
specifies the kind of fog coordinate to output from a
pre-rasterisation shader.
- vkd3d-compiler
The new dxbc-fx source type specifies an effect binary
embedded in a DXBC container. This is a convenience feature;
vkd3d-compiler -x dxbc-fx blob.dxbc is equivalent to
vkd3d-dxbc -x t:FX10 blob.dxbc | vkd3d-compiler -x fx.
-------------------------------------------------------------------
Sat Nov 23 20:34:19 UTC 2024 - Simon Vogl <simon.vogl@gmx.net>
- Update to version 1.14:
- libvkd3d
Depth bounds can be changed dynamically using the
OMSetDepthBounds() method of the ID3D12GraphicsCommandList1
interface.
The new VKD3D_CAPS_OVERRIDE environment variable can be used
to override the value of capabilities like the maximum feature
level and resource binding tier reported to applications.
- libvkd3d-shader
Too long for changelog, for full changes, visit:
https://gitlab.winehq.org/wine/vkd3d/-/blob/master/ChangeLog.md
- libvkd3d-utils
The GetDesc() method of the ID3D12ShaderReflection interface
returned by D3DReflect() returns shader version information.
New interfaces:
D3DCompile2VKD3D() is a variant of D3DCompile2() that
allows targeting the behaviour of a specific d3dcompiler
version.
- vkd3d-compiler
The --alias-double-as-float option specifies that the
double type behaves as an alias for the float type in HLSL
sources with shader model 1-3 target profiles.
The fx source type specifies binary Direct3D effects.
The msl target type specifies Metal Shading Language
shaders.
-------------------------------------------------------------------
Thu Oct 31 00:48:49 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- generate demo and docs, seperating them out into their own packages
- be more explicit with buildflags, enabling opengl
- write the spec file in more modern layout
-------------------------------------------------------------------
Sat Sep 28 23:36:17 UTC 2024 - Simon Vogl <simon.vogl@gmx.net>

View File

@@ -1,6 +1,8 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: Hostname:
Version: Hockeypuck 2.2
mQINBFY4SBYBEAC11sh4AMhIhiLxj76FXsluVJIU4nZjVmexar+/5WMlVvMX+Dxk
xsFNBFY4SBYBEAC11sh4AMhIhiLxj76FXsluVJIU4nZjVmexar+/5WMlVvMX+Dxk
lUbKDCBOUMtPFsAXMpcxOGwscCr3WMuI8WszTjKDs3mdQ37o/pzXMbRhY0oZV29Z
EhNLds14qhMLlQiDEm5lJ5bOsLevHJ9hR4wvwY6UR881xsiXsNU+iNMRP0cWeRjQ
84pSCLOt9i+D8rdllVob871gN/tjY4Ll13Tg7qmtFE1YEFJaLb2yik0bO7gPkig/
@@ -11,42 +13,111 @@ QK0bHqIwChMtAJvzdoC77XIJhbCtStmvo2FdSA8YcG4stlz+Wk1ZtNMen83ZEscS
OXEVpxcPGlbmWmkWj8DF5zbB1dRdh4T6LLM4nZViBu7oGD76z3c/x2zc7l3pyVHx
Cw70a+r+6LvUwnvCiApCBS72uDc4zZtnkNUQHlXHkz9wEeYUtUB0wkCYWPZy7BZy
0aFfKWK4Jg7uGx/mdHRCJ35MdXWxeQ4yPUE+tF951s167AN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YAQIACQUCVjhIFgIbDAAKCRDO+sjqrxdRnXtNEACTBTmYZz3ogxYoC7Ko
qjxkM6kpWea+K0N7ercXwWA3JU6t6zKppO+W8bXmR6UoDL3RxUoKq73MgiT+RfCE
W5Pif7VG9dInJ5e/r7G+j3zV135V9HCHgAvcqgd2ekTu+zaDMh8zJcOBHDVF3Zgu
OrPoesu+AXlliwcGEdfF4E0rsN4GKS+z9JajNnex+hwkDJGQ/6J/aU95TnOZPWHj
PgfgJNJw8iRq3Y+hBEv7pK5qv7MyYcftszGylOg7P7iERNM7klVD5wsvtyj7iZPs
S1rblQ9r9htD1wayinIC30M00Hhk+Uf/K07dsN2oeHV2ERuQHTeXyGk34yU2Rpob
d6bx7rnKJaKjFpegw+2t12Y1rVATIT26AGYgpl4gVp93NuiE7jfY+IEqZd4W1mCV
401qHBrNmMorjEbDujIp38+Zdv4mY6fMRyfBmo7ixkBEuwsBh7koUNIZJx2Zqx9H
esToQ+uHM4JkyNh62ro1s/rt9bBzNchCYECgLRC9gClhkmnZcv3iNqwkAxJ+piHt
+CNOEj6/1606RQpZlAW2QQYq+yjEYQfAfREXSRJW7W+LmxmdAxQmKbniYFb/WoL1
djjVW/ytASHrycvb+fhW0hSEBv7KZMH/+9aJYm/d4lK/bSk2hJjjEdcSZQokLwEG
LJqsDPRRw5hiWE0BNVm1WbuIGQ==
=x8N0
-----END PGP PUBLIC KEY BLOCK-----

View File

@@ -1,7 +1,7 @@
#
# spec file for package vkd3d
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,60 +16,77 @@
#
%define major 1
%define major 1
Name: vkd3d
Version: 1.17
Release: 0
Summary: Direct3D 12 to Vulkan translation library
License: LGPL-2.1-or-later
URL: https://winehq.org
Source0: https://dl.winehq.org/vkd3d/source/vkd3d-%{version}.tar.xz
Source1: https://dl.winehq.org/vkd3d/source/vkd3d-%{version}.tar.xz.sign
Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xda23579a74d4ad9af9d3f945cefac8eaaf17519d#/%{name}.keyring
Source3: baselibs.conf
BuildRequires: bison
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: perl
BuildRequires: perl-JSON
BuildRequires: spirv-headers
BuildRequires: xcb-util-keysyms-devel
BuildRequires: pkgconfig(SPIRV-Tools)
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(ncurses)
BuildRequires: pkgconfig(vulkan) >= 1.3.228
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-event)
BuildRequires: pkgconfig(xcb-icccm)
URL: https://winehq.org/
Summary: Direct3D 12 to Vulkan translation library
License: LGPL-2.1-or-later
Group: System/X11/Utilities
Version: 1.13
Release: 0
Source0: https://dl.winehq.org/vkd3d/source/vkd3d-%version.tar.xz
Source1: https://dl.winehq.org/vkd3d/source/vkd3d-%version.tar.xz.sign
Source2: %name.keyring
Source3: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig(xcb-keysyms)
%package -n libvkd3d%major
%package -n lib%{name}%{major}
Summary: Direct3D 12 to Vulkan translation library
Group: System/Libraries
%package -n libvkd3d-utils%major
%package -n lib%{name}-utils%{major}
Summary: Direct3D 12 to Vulkan translation library utilities
Group: System/Libraries
%package -n libvkd3d-shader%major
%package -n lib%{name}-shader%{major}
Summary: Direct3D 12 to Vulkan translation shader library
Group: System/Libraries
%package devel
Summary: Development headers for the Direct3D 12 to Vulkan translation library
Group: Development/Libraries/X11
Requires: libvkd3d%major = %version
Requires: libvkd3d-utils%major = %version
Requires: lib%{name}%{major} = %{version}
Requires: lib%{name}-utils%{major} = %{version}
%package demos
Summary: Demos for %{name}
Group: System/Libraries
Requires: libvkd3d%{major} = %{version}
%package docs
Summary: Documentation for %{name}
Group: System/Libraries
BuildArch: noarch
%description
This is a Direct3D 12 to Vulkan translation library for use by e.g. Wine.
%description -n libvkd3d%major
%description demos
This is a Direct3D 12 to Vulkan translation library for use by e.g. Wine.
%description -n libvkd3d-utils%major
%description docs
This is a Direct3D 12 to Vulkan translation library for use by e.g. Wine.
%description -n lib%{name}%{major}
This is a Direct3D 12 to Vulkan translation library for use by e.g. Wine.
%description -n lib%{name}-utils%{major}
This is a Direct3D 12 to Vulkan translation utilities library for use by e.g. Wine.
%description -n libvkd3d-shader%major
%description -n lib%{name}-shader%{major}
This is a Direct3D 12 to Vulkan shader library for use by e.g. Wine.
%description devel
@@ -78,61 +95,63 @@ This is a Direct3D 12 to Vulkan translation library for use by e.g. Wine.
These are its development libraries and headers.
%prep
%setup -q
%autosetup
%build
%configure \
--disable-static \
--disable-tests \
--with-xcb \
--with-spirv-tools
make %{?_smp_mflags}
%check
make check
--disable-static \
--disable-tests \
--with-ncurses \
--with-opengl \
--enable-demos \
--with-xcb \
--with-spirv-tools
%make_build
%install
%make_install
rm %buildroot/%_libdir/*.la
rm -rf %{buildroot}%{_libdir}/*.la
%fdupes %{buildroot}
%fdupes -s %{_builddir}/%{name}-%{version}/doc
%fdupes %buildroot/%_prefix
%check
%make_build check
%files -n libvkd3d%{major}
%ldconfig_scriptlets -n libvkd3d%{major}
%ldconfig_scriptlets -n libvkd3d-utils%{major}
%ldconfig_scriptlets -n libvkd3d-shader%{major}
%files -n lib%{name}%{major}
%license COPYING LICENSE
%doc README ANNOUNCE AUTHORS
%license COPYING LICENSE
%defattr(-,root,root)
%_libdir/libvkd3d.so.%{major}*
%{_libdir}/lib%{name}.so.%{major}*
%files -n libvkd3d-utils%{major}
%files -n lib%{name}-utils%{major}
%license COPYING LICENSE
%defattr(-,root,root)
%_libdir/libvkd3d-utils.so.%{major}*
%{_libdir}/lib%{name}-utils.so.%{major}*
%files -n libvkd3d-shader%{major}
%files -n lib%{name}-shader%{major}
%license COPYING LICENSE
%defattr(-,root,root)
%_libdir/libvkd3d-shader.so.%{major}*
%{_libdir}/lib%{name}-shader.so.%{major}*
%files demos
%license COPYING LICENSE
%{_bindir}/%{name}-gears
%{_bindir}/%{name}-triangle
%{_bindir}/%{name}-teapot
%files devel
%defattr(-,root,root)
%license COPYING LICENSE
%doc AUTHORS README ANNOUNCE
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/libvkd3d.pc
%_libdir/pkgconfig/libvkd3d-shader.pc
%_libdir/pkgconfig/libvkd3d-utils.pc
%_bindir/vkd3d-compiler
%_bindir/vkd3d-dxbc
%{_includedir}/%{name}
%{_libdir}/lib%{name}{,-shader,-utils}.so
%{_libdir}/pkgconfig/lib%{name}.pc
%{_libdir}/pkgconfig/lib%{name}-shader.pc
%{_libdir}/pkgconfig/lib%{name}-utils.pc
%{_bindir}/%{name}-compiler
%{_bindir}/%{name}-dxbc
%post -n libvkd3d%{major} -p /sbin/ldconfig
%postun -n libvkd3d%{major} -p /sbin/ldconfig
%post -n libvkd3d-utils%{major} -p /sbin/ldconfig
%postun -n libvkd3d-utils%{major} -p /sbin/ldconfig
%post -n libvkd3d-shader%{major} -p /sbin/ldconfig
%postun -n libvkd3d-shader%{major} -p /sbin/ldconfig
%files docs
%doc doc/html
%changelog