summaryrefslogtreecommitdiff
path: root/pipeline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pipeline.cpp')
-rw-r--r--pipeline.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/pipeline.cpp b/pipeline.cpp
index 1b55966..30c110c 100644
--- a/pipeline.cpp
+++ b/pipeline.cpp
@@ -165,6 +165,10 @@ void Pipeline_Builder::depth(bool test, bool write, Depth_Mode mode) {
pip->depth_mode = mode;
}
+void Pipeline_Builder::geo(Geo_Type type) {
+ pip->geo = type;
+}
+
void Pipeline_Builder::blend(
Blend_Mode mode,
Blend_Factor src,
@@ -267,6 +271,7 @@ void Pipeline::hash() {
h(pipeline_hash, depth_test);
h(pipeline_hash, depth_write);
h(pipeline_hash, depth_mode);
+ h(pipeline_hash, geo);
h(pipeline_hash, blend_enable);
h(pipeline_hash, blend_mode);
h(pipeline_hash, blend_mode_alpha);