mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
Merge pull request #6931 from lioncash/vulkan-post
Vulkan/PostProcessing: Make file-scope std::string instances const char arrays
This commit is contained in:
commit
db5c2ffb41
@ -134,7 +134,7 @@ void VulkanPostProcessing::FillUniformBuffer(u8* buf, const TargetRectangle& src
|
||||
}
|
||||
}
|
||||
|
||||
static const std::string DEFAULT_FRAGMENT_SHADER_SOURCE = R"(
|
||||
constexpr char DEFAULT_FRAGMENT_SHADER_SOURCE[] = R"(
|
||||
layout(set = 1, binding = 0) uniform sampler2DArray samp0;
|
||||
|
||||
layout(location = 0) in float3 uv0;
|
||||
@ -147,7 +147,7 @@ static const std::string DEFAULT_FRAGMENT_SHADER_SOURCE = R"(
|
||||
}
|
||||
)";
|
||||
|
||||
static const std::string POSTPROCESSING_SHADER_HEADER = R"(
|
||||
constexpr char POSTPROCESSING_SHADER_HEADER[] = R"(
|
||||
SAMPLER_BINDING(0) uniform sampler2DArray samp0;
|
||||
SAMPLER_BINDING(1) uniform sampler2DArray samp1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user