PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/extra/gpu/shaders/prettyprint/prettyprint.factor

http://github.com/abeaumont/factor
Unknown | 24 lines | 19 code | 5 blank | 0 comment | 0 complexity | ecbeb134dfb7bfb7cc20e7efabc6be8b MD5 | raw file
 1USING: accessors debugger gpu.shaders io kernel prettyprint ;
 2IN: gpu.shaders.prettyprint
 3
 4M: compile-shader-error error.
 5    "The GLSL shader " write
 6    [ shader>> name>> pprint-short " failed to compile." print ]
 7    [ log>> print ] bi ;
 8
 9M: link-program-error error.
10    "The GLSL program " write
11    [ shader>> name>> pprint-short " failed to link." print ]
12    [ log>> print ] bi ;
13
14M: too-many-feedback-formats-error error.
15    drop
16    "Only one transform feedback format can be specified for a program." print ;
17
18M: invalid-link-feedback-format-error error.
19    drop
20    "Vertex formats used for transform feedback can't contain padding fields." print ;
21
22M: inaccurate-feedback-attribute-error error.
23    drop
24    "The types of the transform feedback attributes don't match those specified by the program's vertex format." print ;