From 014077c89bb3c50718d56430f387109ad43508b6 Mon Sep 17 00:00:00 2001 From: quou Date: Mon, 13 Jan 2025 20:56:13 +1100 Subject: basic picking and debug rendering --- pipeline.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pipeline.cpp') 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); -- cgit v1.2.3-54-g00ecf