Configuring PVRRayTracingSimulation#
Assume that $PVRRSROOT
is the absolute path to the directory where the files have been extracted.
Ensure that the supplied layers are visible to the Vulkan loader. For example, you can set the
VK_LAYER_PATH
environment variable as follows:On Windows set it to:
$PVRRSROOT\\Lunarg;$PVRRSROOT
On GNU/Linux set it to:
$PVRRSROOT/Lunarg:$PVRRSROOT
Enable the layers. For example, you can set the
VK_INSTANCE_LAYERS
environment variable.On Windows, set it to:
VK_LAYER_POWERVR_acceleration_structure_host_commands;VK_LAYER_LUNARG_device_simulation
On GNU/Linux, set it to:
VK_LAYER_POWERVR_acceleration_structure_host_commands:VK_LAYER_LUNARG_device_simulation
Set the VK_DEVSIM_FILENAME environment variable to the absolute path of the
RayTracingPlatformCapabilities.json
file.On Windows, set it to:
$PVRRSROOT\\RayTracingPlatformCapabilities.json
On GNU/Linux, set it to:
$PVRRSROOT/RayTracingPlatformCapabilities.json
Run your Vulkan application.