summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-06-21 21:28:55 +0200
committerGitHub <noreply@github.com>2019-06-21 21:28:55 +0200
commita9f3c548711bd99abab97091beec343fac91781d (patch)
tree63514b4b7af0e902eb69c527c6f5aaba3af78a1b /src/video_core
parentMerge pull request #2602 from lioncash/cast (diff)
parentgl_device: Fix TestVariableAoffi test (diff)
downloadyuzu-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 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_device.cpp3
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)};