summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader.h
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-07-25 23:39:43 +0200
committerwwylele <wwylele@gmail.com>2017-08-19 09:13:20 +0200
commitbb63ae305279d9a73ea70133c89e92a36dc79f69 (patch)
treebf06f895922b0230e36ab0cafc0aa4a80fc59804 /src/video_core/shader/shader.h
parentpica/shader/interpreter: implement SETEMIT and EMIT (diff)
downloadyuzu-bb63ae305279d9a73ea70133c89e92a36dc79f69.tar
yuzu-bb63ae305279d9a73ea70133c89e92a36dc79f69.tar.gz
yuzu-bb63ae305279d9a73ea70133c89e92a36dc79f69.tar.bz2
yuzu-bb63ae305279d9a73ea70133c89e92a36dc79f69.tar.lz
yuzu-bb63ae305279d9a73ea70133c89e92a36dc79f69.tar.xz
yuzu-bb63ae305279d9a73ea70133c89e92a36dc79f69.tar.zst
yuzu-bb63ae305279d9a73ea70133c89e92a36dc79f69.zip
Diffstat (limited to 'src/video_core/shader/shader.h')
-rw-r--r--src/video_core/shader/shader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/shader/shader.h b/src/video_core/shader/shader.h
index caec96043..a3789da01 100644
--- a/src/video_core/shader/shader.h
+++ b/src/video_core/shader/shader.h
@@ -50,7 +50,8 @@ struct OutputVertex {
INSERT_PADDING_WORDS(1);
Math::Vec2<float24> tc2;
- static OutputVertex FromAttributeBuffer(const RasterizerRegs& regs, AttributeBuffer& output);
+ static OutputVertex FromAttributeBuffer(const RasterizerRegs& regs,
+ const AttributeBuffer& output);
};
#define ASSERT_POS(var, pos) \
static_assert(offsetof(OutputVertex, var) == pos * sizeof(float24), "Semantic at wrong " \