Commit AFTER playing around with poking/vector sizing a little

This commit is contained in:
2024-10-01 12:32:23 +01:00
parent 8348c1234c
commit 6438da0037
12 changed files with 301 additions and 1889 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ renderLayer ::
UMV.MVector (PrimState IO) Int ->
IO ()
renderLayer layer shads counts = do
let layerCounts = UMV.slice (ln * numLayers) 6 counts
let layerCounts = UMV.slice (ln * numLayers) numShads counts
MV.imapM_ (drawShaderLay ln layerCounts) shads
where
ln = fromEnum layer