aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/ir_emitter.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-07-26 04:11:13 -0400
committerLioncash <mathew1800@gmail.com>2021-07-26 04:23:59 -0400
commit06ca911621eaea236daf8d5eed3a4289489fd5cf (patch)
treeb4d776578e94e6a7971d852dd308caa88a75c031 /src/shader_recompiler/frontend/ir/ir_emitter.h
parent7e272d3cd81656b65b21f5a569fc9a2d76cac758 (diff)
shader_recompiler: Remove unnecessary [[nodiscard]] instances
[[nodiscard]] doesn't do anything on functions with a void return type and causes superfluous warnings.
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.h')
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.h b/src/shader_recompiler/frontend/ir/ir_emitter.h
index 53f7b3b065..1b89ca5a0d 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.h
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.h
@@ -327,8 +327,8 @@ public:
const Value& derivates, const Value& offset,
const F32& lod_clamp, TextureInstInfo info);
[[nodiscard]] Value ImageRead(const Value& handle, const Value& coords, TextureInstInfo info);
- [[nodiscard]] void ImageWrite(const Value& handle, const Value& coords, const Value& color,
- TextureInstInfo info);
+ void ImageWrite(const Value& handle, const Value& coords, const Value& color,
+ TextureInstInfo info);
[[nodiscard]] Value ImageAtomicIAdd(const Value& handle, const Value& coords,
const Value& value, TextureInstInfo info);