From 0eec3ec10eadeace142c2acbacc76a1f0e1f282f Mon Sep 17 00:00:00 2001 From: lizzie Date: Wed, 14 Jan 2026 06:02:19 +0000 Subject: [PATCH] fix 2 --- src/video_core/host_shaders/CMakeLists.txt | 1 + src/video_core/host_shaders/sgsr1_shader.vert | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/video_core/host_shaders/CMakeLists.txt b/src/video_core/host_shaders/CMakeLists.txt index dc05853326..c6158b4a2f 100644 --- a/src/video_core/host_shaders/CMakeLists.txt +++ b/src/video_core/host_shaders/CMakeLists.txt @@ -217,3 +217,4 @@ add_custom_target(host_shaders SOURCES ${SHADER_SOURCES} ) +#add_dependencies(host_shaders snapdragon_gsr::snapdragon_gsr) diff --git a/src/video_core/host_shaders/sgsr1_shader.vert b/src/video_core/host_shaders/sgsr1_shader.vert index 6a87a7cac0..a7453114bd 100644 --- a/src/video_core/host_shaders/sgsr1_shader.vert +++ b/src/video_core/host_shaders/sgsr1_shader.vert @@ -1,13 +1,13 @@ -// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later #version 450 -layout(location = 0) out vec2 texcoord; +layout(location = 0) out highp vec4 texcoord; void main() { float x = float((gl_VertexIndex & 1) << 2); float y = float((gl_VertexIndex & 2) << 1); gl_Position = vec4(x - 1.0, y - 1.0, 0.0, 1.0); - texcoord = vec2(x, y) / 2.0; + texcoord = vec4(x, y, 0.f, 0.f) / 2.0; }