From 55cfd472a5fc52a76ce9a2a7faff8f2a3d40b7d2 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Fri, 9 Oct 2020 12:42:29 +0200 Subject: [PATCH] shader: delete unused code Signed-off-by: Elias Naur --- piet-gpu/shader/elements.comp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/piet-gpu/shader/elements.comp b/piet-gpu/shader/elements.comp index 3d21020..3c38f38 100644 --- a/piet-gpu/shader/elements.comp +++ b/piet-gpu/shader/elements.comp @@ -289,10 +289,6 @@ void main() { for (uint i = 0; i < N_ROWS; i++) { State st = combine_state(row, th_state[i]); - // We write the state now for development purposes, but the - // actual goal is to write transformed and annotated elements. - //State_write(StateRef((ix + i) * State_size), st); - // Here we read again from the original scene. There may be // gains to be had from stashing in shared memory or possibly // registers (though register pressure is an issue).