Merge pull request #2514 from ReinUsesLisp/opengl-compat

video_core: Drop OpenGL core in favor of OpenGL compatibility
This commit is contained in:
Zach Hilman 2019-06-07 17:23:25 -04:00 committed by GitHub
commit de33ad25f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 45 additions and 252 deletions

View file

@ -52,7 +52,7 @@ vk::SamplerAddressMode WrapMode(Tegra::Texture::WrapMode wrap_mode) {
return vk::SamplerAddressMode::eClampToEdge;
case Tegra::Texture::WrapMode::Border:
return vk::SamplerAddressMode::eClampToBorder;
case Tegra::Texture::WrapMode::ClampOGL:
case Tegra::Texture::WrapMode::Clamp:
// TODO(Rodrigo): GL_CLAMP was removed as of OpenGL 3.1, to implement GL_CLAMP, we can use
// eClampToBorder to get the border color of the texture, and then sample the edge to
// manually mix them. However the shader part of this is not yet implemented.