Commit 1b17f90b by Geoff Lang Committed by Commit Bot

Vulkan: Implement ANGLE_translated_shader_source

BUG=angleproject:2909 Change-Id: Ie59c1206e2ce4940e27fed7887dbee665721049b Reviewed-on: https://chromium-review.googlesource.com/c/1351354Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent bc8cc5af
...@@ -51,7 +51,7 @@ bool ShaderVk::postTranslateCompile(gl::ShCompilerInstance *compiler, std::strin ...@@ -51,7 +51,7 @@ bool ShaderVk::postTranslateCompile(gl::ShCompilerInstance *compiler, std::strin
std::string ShaderVk::getDebugInfo() const std::string ShaderVk::getDebugInfo() const
{ {
return std::string(); return mData.getTranslatedSource();
} }
} // namespace rx } // namespace rx
...@@ -48,6 +48,7 @@ void GenerateCaps(const VkPhysicalDeviceProperties &physicalDeviceProperties, ...@@ -48,6 +48,7 @@ void GenerateCaps(const VkPhysicalDeviceProperties &physicalDeviceProperties,
outExtensions->debugMarker = true; outExtensions->debugMarker = true;
outExtensions->robustness = true; outExtensions->robustness = true;
outExtensions->textureBorderClamp = false; // not implemented yet outExtensions->textureBorderClamp = false; // not implemented yet
outExtensions->translatedShaderSource = true;
// We use secondary command buffers almost everywhere and they require a feature to be // We use secondary command buffers almost everywhere and they require a feature to be
// able to execute in the presence of queries. As a result, we won't support queries // able to execute in the presence of queries. As a result, we won't support queries
......
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