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
@ -49,6 +49,11 @@ namespace dxvk {
|
||||
|
||||
void DxvkComputePipeline::compilePipeline() {
|
||||
std::vector<VkDescriptorSetLayoutBinding> bindings;
|
||||
|
||||
if (Logger::logLevel() <= LogLevel::Debug) {
|
||||
Logger::debug("Compiling compute pipeline...");
|
||||
Logger::debug(str::format(" cs : ", m_cs ->debugName()));
|
||||
}
|
||||
|
||||
VkComputePipelineCreateInfo info;
|
||||
info.sType = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO;
|
||||
|
Loading…
Reference in New Issue
Block a user