diff options
-rw-r--r-- | src/gpu/vk/GrVkPipelineStateBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/vk/GrVkPipelineStateBuilder.cpp b/src/gpu/vk/GrVkPipelineStateBuilder.cpp index 00e81d4b9c..6d46ea91b5 100644 --- a/src/gpu/vk/GrVkPipelineStateBuilder.cpp +++ b/src/gpu/vk/GrVkPipelineStateBuilder.cpp @@ -99,7 +99,7 @@ bool GrVkPipelineStateBuilder::CreateVkShaderModule(const GrVkGpu* gpu, moduleCreateInfo.pNext = nullptr; moduleCreateInfo.flags = 0; - shaderc_compilation_result_t result; + shaderc_compilation_result_t result = nullptr; if (gpu->vkCaps().canUseGLSLForShaderModule()) { moduleCreateInfo.codeSize = strlen(shaderString.c_str()); |