diff options
Diffstat (limited to 'SampleIR.hs')
-rw-r--r-- | SampleIR.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SampleIR.hs b/SampleIR.hs index 6f81f3d..1332b6d 100644 --- a/SampleIR.hs +++ b/SampleIR.hs | |||
@@ -139,10 +139,10 @@ main = do | |||
139 | let sn = ExpN srcName | 139 | let sn = ExpN srcName |
140 | pplRes <- compileMain (ioFetch ["."]) OpenGL33 undefined sn | 140 | pplRes <- compileMain (ioFetch ["."]) OpenGL33 undefined sn |
141 | case pplRes of | 141 | case pplRes of |
142 | (Left err,a) -> putStrLn ("error: " ++ show err ++ show a) >> return Nothing | 142 | (Left err,a) -> putStrLn ("error: " ++ show err) >> return Nothing |
143 | (Right (ppl,a),b) -> do | 143 | (Right (ppl,a),b) -> do |
144 | putStrLn $ ppShow ppl | 144 | putStrLn $ ppShow ppl |
145 | print [a,b] | 145 | --print [a,b] |
146 | renderer <- allocPipeline ppl | 146 | renderer <- allocPipeline ppl |
147 | setPipelineInput renderer (Just pplInput) | 147 | setPipelineInput renderer (Just pplInput) |
148 | sortSlotObjects pplInput | 148 | sortSlotObjects pplInput |