This project is a fork of the vkd3d.git project. If you have that one already cloned locally, you can use
git clone --reference /path/to/your/vkd3d.git/incarnation mirror_URL
to save bandwidth during cloning.
 
descriptionZebediah Figura's local tree
ownerzfigura@codeweavers.com
last changeWed, 16 Feb 2022 04:07:39 +0000 (15 22:07 -0600)
content tags
add:
README
=============================
The vkd3d 3D Graphics Library
=============================

Vkd3d is a 3D graphics library built on top of Vulkan. It has an API very
similar, but not identical, to Direct3D 12.

==============
Building vkd3d
==============

Vkd3d depends on SPIRV-Headers and Vulkan-Headers (>= 1.1.113).

Vkd3d generates some of its headers from IDL files. If you are using the
release tarballs, then these headers are pre-generated and are included. If
you are building from git, then they will be generated at build-time using
widl. By default, vkd3d will use the widl found in `PATH'. If widl is not
available or is not recent (>= 3.20), then you can build Wine with `make
tools/widl' to avoid building all of Wine. You can then point vkd3d's
configure at that widl binary with `WIDL="/path/to/widl"'.

For release builds, you may want to define NDEBUG. If you do not need debug log
messages, you may also consider VKD3D_NO_TRACE_MESSAGES and
VKD3D_NO_DEBUG_MESSAGES. For example, you can pass `CPPFLAGS="-DNDEBUG
-DVKD3D_NO_TRACE_MESSAGES"' to configure.

===========
Using vkd3d
===========

Vkd3d can be used by projects that target Direct3D 12 as a drop-in replacement
at build-time with some modest source modifications.

If vkd3d is available when building Wine, then Wine will use it to support
Direct3D 12 applications.

=====================
Environment variables
=====================

Most of the environment variables used by vkd3d are for debugging purposes. The
environment variables are not considered a part of API and might be changed or
removed in the future versions of vkd3d.

Some of debug variables are lists of elements. Elements must be separated by
commas or semicolons.

 * NO_COLOR - this is an alias of NO_COLOUR.

 * NO_COLOUR - when set, vkd3d-compiler will default to monochrome output,
   even when the output supports colour.

 * VKD3D_CONFIG - a list of options that change the behavior of libvkd3d.
    * vk_debug - enables Vulkan debug extensions.

 * VKD3D_DEBUG - controls the debug level for log messages produced by
   libvkd3d. Accepts the following values: none, err, fixme, warn, trace.

 * VKD3D_VULKAN_DEVICE - a zero-based device index. Use to force the selected
   Vulkan device.

 * VKD3D_DISABLE_EXTENSIONS - a list of Vulkan extensions that libvkd3d should
   not use even if available.

 * VKD3D_SHADER_DEBUG - controls the debug level for log messages produced by
   libvkd3d-shader. See VKD3D_DEBUG for accepted values.

 * VKD3D_SHADER_DUMP_PATH - path where shader bytecode is dumped.

 * VKD3D_TEST_DEBUG - enables additional debug messages in tests. Set to 0, 1
   or 2.

 * VKD3D_TEST_FILTER - a filter string. Only the tests whose names matches the
   filter string will be run, e.g. VKD3D_TEST_FILTER=clear_render_target.
   Useful for debugging or developing new tests.

 * VKD3D_TEST_PLATFORM - can be set to "wine", "windows" or "other". The test
   platform controls the behavior of todo(), todo_if(), bug_if() and broken()
   conditions in tests.

 * VKD3D_TEST_BUG - set to 0 to disable bug_if() conditions in tests.
shortlog
2022-02-16 Nikolay Sivovvkd3d-shader/hlsl: Fix floating point literals matching.master
2022-02-16 Zebediah Figuravkd3d-shader/hlsl: Correctly calculate offsets for...
2022-02-16 Zebediah Figuravkd3d-shader/hlsl: Fold constant swizzles.
2022-02-16 Zebediah Figuravkd3d-shader/hlsl: Return false from hlsl_offset_from_d...
2022-02-16 Zebediah Figuravkd3d-shader/hlsl: Dump only the entry point.
2022-02-16 Zebediah Figuratests: Add some tests for casting output arguments...
2022-02-16 Zebediah Figuratests: Add some simple tests for HLSL function calls.
2022-02-14 Giovanni Mascellanivkd3d-shader/hlsl: Parse bitwise OR.
2022-02-14 Giovanni Mascellanivkd3d-shader/hlsl: Parse bitwise XOR.
2022-02-14 Giovanni Mascellanivkd3d-shader/hlsl: Parse bitwise AND.
2022-02-14 Giovanni Mascellanivkd3d-shader/hlsl: Write SM4 unsigned multiplication...
2022-02-14 Giovanni Mascellanitests: Test a number of simple HLSL operations.
2022-02-14 Giovanni Mascellanitests: Test matrix multiplication.
2022-02-14 Matteo Brunivkd3d-shader/sm4: Skip non-color outputs in shader...
2022-02-14 Conor McCarthyvkd3d: Lock the heap mutex while binding heap memory.
2022-02-09 Francisco Casasvkd3d-shader/hlsl: Parse valid texture array types.
...
tags
5 years ago vkd3d-1.1 Release 1.1
5 years ago vkd3d-1.0 Release 1.0
7 years ago vkd3d-0.0.1 Release 0.0.1.
heads
2 years ago bazman4
2 years ago master
2 years ago bazman5
2 years ago proton_6.3-vkd3d2
2 years ago proton_6.3-vkd3d1
2 years ago proton_6.3
3 years ago zf/bazman2
3 years ago zf/bazman