From b67d952e63ef0044649f3e65076e61adb7c0757e Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sat, 14 Oct 2017 13:45:00 +0200 Subject: [PATCH] [dxvk] Added compute pipeline stub --- src/dxvk/dxvk_compute.h | 5 ++++- src/dxvk/dxvk_device.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_compute.h b/src/dxvk/dxvk_compute.h index 0a211d70..ebaf3ab1 100644 --- a/src/dxvk/dxvk_compute.h +++ b/src/dxvk/dxvk_compute.h @@ -7,7 +7,10 @@ namespace dxvk { /** * \brief Compute pipeline * - * Stores a pipeline object + * Stores a compute pipeline object and the corresponding + * pipeline layout. Unlike graphics pipelines, compute + * pipelines do not need to be recompiled against any sort + * of pipeline state. */ class DxvkComputePipeline : public RcObject { diff --git a/src/dxvk/dxvk_device.h b/src/dxvk/dxvk_device.h index d9391d7b..93413925 100644 --- a/src/dxvk/dxvk_device.h +++ b/src/dxvk/dxvk_device.h @@ -115,10 +115,12 @@ namespace dxvk { /** * \brief Creates a shader module * + * \param [in] iface Shader interface * \param [in] code SPIR-V code * \returns Shader module */ Rc createShader( + const DxvkShaderInterface& iface, const SpirvCodeBuffer& code); /**