Difference between revisions of "Vkd3d"

From WineHQ Wiki
Jump to: navigation, search
(Debugging)
(Debugging)
Line 25: Line 25:
 
= Debugging =
 
= Debugging =
  
Vkd3d provides '''VKD3D_DEBUG''' and '''VKD3D_SHADER_DEBUG''' environment variables to control debug log messages. The debug variables can be set to one of the following debug log levels: '''none''', '''err''', '''fixme''', '''warn''', ''trace''.
+
Vkd3d provides '''VKD3D_DEBUG''' and '''VKD3D_SHADER_DEBUG''' environment variables to control debug log messages. The debug variables can be set to one of the following debug log levels: '''none''', '''err''', '''fixme''', '''warn''', '''trace'''.
  
 
See the [https://source.winehq.org/git/vkd3d.git/blob_plain/HEAD:/README README file] for description of all debug environment variables.
 
See the [https://source.winehq.org/git/vkd3d.git/blob_plain/HEAD:/README README file] for description of all debug environment variables.

Revision as of 03:58, 4 June 2019

Building

Getting the vkd3d source

You can download the Vkd3d source code as a tarball, but if you plan to do any actual testing or developing, you'll want to use git.

To grab the source code, just enter the following command:

git clone git://source.winehq.org/git/vkd3d.git/

Compiling

Enter the following commands:

./autogen.sh
./configure
make

See also the README file.

In order to build 32-bit libraries:

../vkd3d/configure --build=i686-pc-linux-gnu "CPPFLAGS=-m32" "LDFLAGS=-m32"

Debugging

Vkd3d provides VKD3D_DEBUG and VKD3D_SHADER_DEBUG environment variables to control debug log messages. The debug variables can be set to one of the following debug log levels: none, err, fixme, warn, trace.

See the README file for description of all debug environment variables.

See also