Index: src/gpu/vk/GrVkUtil.h |
diff --git a/src/gpu/vk/GrVkUtil.h b/src/gpu/vk/GrVkUtil.h |
index b81aff4ae36769aac5982ff8a0744fbda2ed9a26..fae3c200d8a301981de2c1f46b8e87c3759bd4e3 100644 |
--- a/src/gpu/vk/GrVkUtil.h |
+++ b/src/gpu/vk/GrVkUtil.h |
@@ -10,9 +10,10 @@ |
#include "GrColor.h" |
#include "GrTypes.h" |
+#include "vk/GrVkDefines.h" |
#include "vk/GrVkInterface.h" |
-#include "vk/GrVkDefines.h" |
+class GrVkGpu; |
// makes a Vk call on the interface |
#define GR_VK_CALL(IFACE, X) (IFACE)->fFunctions.f##X; |
@@ -43,4 +44,10 @@ bool GrVkFormatIsSRGB(VkFormat format, VkFormat* linearFormat); |
bool GrSampleCountToVkSampleCount(uint32_t samples, VkSampleCountFlagBits* vkSamples); |
+bool GrCompileVkShaderModule(const GrVkGpu* gpu, |
+ const char* shaderString, |
+ VkShaderStageFlagBits stage, |
+ VkShaderModule* shaderModule, |
+ VkPipelineShaderStageCreateInfo* stageInfo); |
+ |
#endif |