summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-05-30 03:12:52 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:36 +0200
commit7df0815117c6bdc70775d78b4625f44835ede54a (patch)
treea7e65a8b2452937ed0717b9d9fc23ea6e1034931 /src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp
parentglsl: Fix GetAttribute return values (diff)
downloadyuzu-7df0815117c6bdc70775d78b4625f44835ede54a.tar
yuzu-7df0815117c6bdc70775d78b4625f44835ede54a.tar.gz
yuzu-7df0815117c6bdc70775d78b4625f44835ede54a.tar.bz2
yuzu-7df0815117c6bdc70775d78b4625f44835ede54a.tar.lz
yuzu-7df0815117c6bdc70775d78b4625f44835ede54a.tar.xz
yuzu-7df0815117c6bdc70775d78b4625f44835ede54a.tar.zst
yuzu-7df0815117c6bdc70775d78b4625f44835ede54a.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp
index b8f95bd36..9af9ebeac 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp
@@ -203,15 +203,15 @@ void EmitSetOFlag(EmitContext& ctx) {
NotImplemented();
}
-void EmitWorkgroupId(EmitContext& ctx) {
- NotImplemented();
+void EmitWorkgroupId(EmitContext& ctx, IR::Inst& inst) {
+ ctx.AddU32x3("{}=gl_WorkGroupID;", inst);
}
-void EmitInvocationId(EmitContext& ctx) {
+void EmitInvocationId(EmitContext& ctx, IR::Inst& inst) {
NotImplemented();
}
-void EmitSampleId(EmitContext& ctx) {
+void EmitSampleId(EmitContext& ctx, IR::Inst& inst) {
NotImplemented();
}