mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-30 22:24:15 +01:00
Debug logging for compute shaders (#115)
* Add debug logging for compute shaders * remove redundant nullptr check
This commit is contained in:
parent
e0fbfdf0e2
commit
fae9916708
@ -50,6 +50,11 @@ namespace dxvk {
|
|||||||
void DxvkComputePipeline::compilePipeline() {
|
void DxvkComputePipeline::compilePipeline() {
|
||||||
std::vector<VkDescriptorSetLayoutBinding> bindings;
|
std::vector<VkDescriptorSetLayoutBinding> bindings;
|
||||||
|
|
||||||
|
if (Logger::logLevel() <= LogLevel::Debug) {
|
||||||
|
Logger::debug("Compiling compute pipeline...");
|
||||||
|
Logger::debug(str::format(" cs : ", m_cs ->debugName()));
|
||||||
|
}
|
||||||
|
|
||||||
VkComputePipelineCreateInfo info;
|
VkComputePipelineCreateInfo info;
|
||||||
info.sType = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO;
|
info.sType = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO;
|
||||||
info.pNext = nullptr;
|
info.pNext = nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user