diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-12 04:02:50 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-12 04:02:50 +0200 |
commit | ee81fb94cd5da48c83a42ce236be5c2d215e54cc (patch) | |
tree | bbfe10d86301ebf96a31b97f871a91d958d3c165 | |
parent | Merge pull request #2578 from lioncash/cnmt (diff) | |
download | yuzu-ee81fb94cd5da48c83a42ce236be5c2d215e54cc.tar yuzu-ee81fb94cd5da48c83a42ce236be5c2d215e54cc.tar.gz yuzu-ee81fb94cd5da48c83a42ce236be5c2d215e54cc.tar.bz2 yuzu-ee81fb94cd5da48c83a42ce236be5c2d215e54cc.tar.lz yuzu-ee81fb94cd5da48c83a42ce236be5c2d215e54cc.tar.xz yuzu-ee81fb94cd5da48c83a42ce236be5c2d215e54cc.tar.zst yuzu-ee81fb94cd5da48c83a42ce236be5c2d215e54cc.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)}; |