shader_recompiler: Remove unnecessary [[nodiscard]] instances

[[nodiscard]] doesn't do anything on functions with a void return type
and causes superfluous warnings.
This commit is contained in:
Lioncash
2021-07-26 04:11:13 -04:00
parent 7e272d3cd8
commit 06ca911621
2 changed files with 4 additions and 4 deletions

View File

@ -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);