Commit 46df78dc by Stephan Hartmann Committed by Commit Bot

GCC: add missing static constexpr member definition

C++14 requires to definition of static constexpr members to emit a linker symbol. Bug: chromium:819294 Change-Id: I06b7f1f7a6260982cf07a71c67295789c1f03084 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2720261Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent a476d16b
......@@ -2128,6 +2128,9 @@ class SpirvTransformFeedbackCodeGenerator final : angle::NonCopyable
gl::TransformFeedbackBuffersArray<std::vector<XfbVarying>> mXfbVaryings;
};
constexpr size_t SpirvTransformFeedbackCodeGenerator::kXfbDecorationCount;
constexpr spv::Decoration SpirvTransformFeedbackCodeGenerator::kXfbDecorations[kXfbDecorationCount];
void SpirvTransformFeedbackCodeGenerator::visitName(spirv::IdRef id,
const spirv::LiteralString &name)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment