summaryrefslogtreecommitdiff
path: root/testdata/fragment03swizzling.out
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/fragment03swizzling.out')
-rw-r--r--testdata/fragment03swizzling.out75
1 files changed, 74 insertions, 1 deletions
diff --git a/testdata/fragment03swizzling.out b/testdata/fragment03swizzling.out
index fcc867de..d55e605e 100644
--- a/testdata/fragment03swizzling.out
+++ b/testdata/fragment03swizzling.out
@@ -1 +1,74 @@
1Pipeline {info = "generated by lambdcube-compiler 0.5.0.0", backend = OpenGL33, textures = [], samplers = [], targets = [RenderTarget {renderTargets = [TargetItem {targetSemantic = Color, targetRef = Just (Framebuffer Color)}]}], programs = [Program {programUniforms = fromList [], programStreams = fromList [("vi1",Parameter {name = "position", ty = V4F})], programInTextures = fromList [], programOutput = [Parameter {name = "f0", ty = V4F}], vertexShader = "#version 330 core\nvec4 texture2D(sampler2D s, vec2 uv){return texture(s,uv);}\nin vec4 vi1 ;\nsmooth out vec4 vo1 ;\nvoid main() {\ngl_Position = vi1;\nvo1 = vi1;\n}\n", geometryShader = Nothing, fragmentShader = "#version 330 core\nvec4 texture2D(sampler2D s, vec2 uv){return texture(s,uv);}\nsmooth in vec4 vo1 ;\nout vec4 f0 ;\nvoid main() {\nf0 = ( ( vo1 ).xxxw ) + ( ( vo1 ).yyyw );\n}\n"}], slots = [Slot {slotName = "quad", slotStreams = fromList [("position",V4F)], slotUniforms = fromList [], slotPrimitive = Triangles, slotPrograms = [0]}], streams = [], commands = [SetRenderTarget 0,ClearRenderTarget [ClearImage {imageSemantic = Color, clearValue = VV4F (V4 1.0 0.0 0.0 0.5)}],SetProgram 0,SetRasterContext (TriangleCtx CullNone PolygonFill NoOffset LastVertex),SetAccumulationContext (AccumulationContext {accViewportName = Nothing, accOperations = [ColorOp NoBlending (VV4B (V4 True True True True))]}),RenderSlot 0]} \ No newline at end of file 1Pipeline
2 { info = "generated by lambdcube-compiler 0.5.0.0"
3 , backend = OpenGL33
4 , textures = []
5 , samplers = []
6 , targets =
7 [ RenderTarget
8 { renderTargets =
9 [ TargetItem
10 { targetSemantic = Color , targetRef = Just (Framebuffer Color) }
11 ]
12 }
13 ]
14 , programs =
15 [ Program
16 { programUniforms = fromList []
17 , programStreams =
18 fromList [ ( "vi1" , Parameter { name = "position" , ty = V4F } ) ]
19 , programInTextures = fromList []
20 , programOutput = [ Parameter { name = "f0" , ty = V4F } ]
21 , vertexShader =
22 """
23 #version 330 core
24 vec4 texture2D(sampler2D s, vec2 uv){return texture(s,uv);}
25 in vec4 vi1 ;
26 smooth out vec4 vo1 ;
27 void main() {
28 gl_Position = vi1;
29 vo1 = vi1;
30 }
31
32 """
33 , geometryShader = Nothing
34 , fragmentShader =
35 """
36 #version 330 core
37 vec4 texture2D(sampler2D s, vec2 uv){return texture(s,uv);}
38 smooth in vec4 vo1 ;
39 out vec4 f0 ;
40 void main() {
41 f0 = ( ( vo1 ).xxxw ) + ( ( vo1 ).yyyw );
42 }
43
44 """
45 }
46 ]
47 , slots =
48 [ Slot
49 { slotName = "quad"
50 , slotStreams = fromList [ ( "position" , V4F ) ]
51 , slotUniforms = fromList []
52 , slotPrimitive = Triangles
53 , slotPrograms = [ 0 ]
54 }
55 ]
56 , streams = []
57 , commands =
58 [ SetRenderTarget 0
59 , ClearRenderTarget
60 [ ClearImage
61 { imageSemantic = Color , clearValue = VV4F (V4 1.0 0.0 0.0 0.5) }
62 ]
63 , SetProgram 0
64 , SetRasterContext
65 (TriangleCtx CullNone PolygonFill NoOffset LastVertex)
66 , SetAccumulationContext
67 AccumulationContext
68 { accViewportName = Nothing
69 , accOperations =
70 [ ColorOp NoBlending (VV4B (V4 True True True True)) ]
71 }
72 , RenderSlot 0
73 ]
74 } \ No newline at end of file