Add explicit layer datatype

This commit is contained in:
2022-04-10 10:48:17 +01:00
parent edd82fb3ac
commit 77c3f83d20
27 changed files with 75 additions and 70 deletions
+2 -1
View File
@@ -17,6 +17,7 @@ import Shader.Data
import MatrixHelper
import Shader.ExtraPrimitive
import Shader.Parameters
import Picture.Data
import Foreign
import Control.Lens
@@ -45,7 +46,7 @@ doDrawing pdata u = do
lwShad = _lightingWallShadShader pdata
-- bind as much data into vbos as feasible at this point
-- count mutable vectors setup
layerCounts <- UMV.replicate (6*6) 0
layerCounts <- UMV.replicate (numLayers*6) 0
shapeCounts <- UMV.replicate 3 (0 :: Int)
wlwiflCounts <- UMV.replicate 3 (0 :: Int)
-- attempt to poke in parallel