diff options
author | bunnei <bunneidev@gmail.com> | 2019-06-21 21:28:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-21 21:28:55 +0200 |
commit | a9f3c548711bd99abab97091beec343fac91781d (patch) | |
tree | 63514b4b7af0e902eb69c527c6f5aaba3af78a1b | |
parent | Merge pull request #2602 from lioncash/cast (diff) | |
parent | gl_device: Fix TestVariableAoffi test (diff) | |
download | yuzu-a9f3c548711bd99abab97091beec343fac91781d.tar yuzu-a9f3c548711bd99abab97091beec343fac91781d.tar.gz yuzu-a9f3c548711bd99abab97091beec343fac91781d.tar.bz2 yuzu-a9f3c548711bd99abab97091beec343fac91781d.tar.lz yuzu-a9f3c548711bd99abab97091beec343fac91781d.tar.xz yuzu-a9f3c548711bd99abab97091beec343fac91781d.tar.zst yuzu-a9f3c548711bd99abab97091beec343fac91781d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_device.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cpp index 65a88b06c..a48e14d2e 100644 --- a/src/video_core/renderer_opengl/gl_device.cpp +++ b/src/video_core/renderer_opengl/gl_device.cpp @@ -43,8 +43,9 @@ bool Device::TestVariableAoffi() { // This is a unit test, please ignore me on apitrace bug reports. uniform sampler2D tex; uniform ivec2 variable_offset; +out vec4 output_attribute; void main() { - gl_Position = textureOffset(tex, vec2(0), variable_offset); + output_attribute = textureOffset(tex, vec2(0), variable_offset); } )"; const GLuint shader{glCreateShaderProgramv(GL_VERTEX_SHADER, 1, &AOFFI_TEST)}; |