Commit Graph

18 Commits (a64d6e27ecc0a1b3673277aedbdc3a981a9f91a2)

Author SHA1 Message Date
Joe Groff ce11431fdb gpu.shaders: change around vertex-array construction a bit. rename <vertex-array> to <multi-vertex-array> and buffer>vertex-array to <vertex-array*> . add new <vertex-array> that takes a single buffer and reads it with the program's linked vertex-format 2010-02-10 15:27:57 -08:00
Joe Groff 6aa998ad54 change GLSL-PROGRAM: syntax to allow for vertex formats to be specified for link-time attribute index assignment with glBindAttribLocation. the transform feedback format now needs to be marked with "feedback-format:" 2010-02-10 13:03:44 -08:00
Joe Groff e8dfc22073 gpu.shaders: don't attempt to bind vertex attributes that don't exist in the compiled shader 2010-01-28 21:48:41 -08:00
Joe Groff 3bc72151a8 squeeze some TYPED: juice on gpu.* 2010-01-15 14:03:15 -08:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 00cef34d74 gpu.shaders: '[ empty? not ] filter' is 'harvest' 2009-10-23 07:02:11 -05:00
Joe Groff 09ceb7351e gpu.shaders: carry over instances from old shader/program objects when GLSL-SHADER: or GLSL-PROGRAM: forms get reparsed 2009-10-18 13:44:24 -05:00
Joe Groff 162ae0346f eradicate string c-types from gpu.shaders 2009-09-28 15:32:01 -05:00
Joe Groff 076ab42dc3 move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Joe Groff 02d924f1a5 change gpu VERTEX-STRUCT: to make a struct class 2009-08-30 23:06:15 -05:00
Joe Groff c7dde45c2a hyphens>underscores in VERTEX-FORMAT for consistency with UNIFORM-TUPLE 2009-07-30 10:58:34 -05:00
Joe Groff 90985ea362 verify transform feedback format matches requested format after linking program-instances 2009-07-27 13:16:41 -05:00
Joe Groff bfcb95edaf accept transform-feedback-output target from render 2009-07-26 22:24:33 -05:00
Joe Groff eeb02815bc set transform feedback format at program link 2009-07-25 21:19:56 -05:00
Joe Groff 01f172b5be add a buffer-range tuple to represent a subset of a buffer. add support for specifying a transform feedback format to GLSL-PROGRAM: syntax 2009-07-25 15:50:38 -05:00
Joe Groff 33395eeabd move vertex-formats and vertex-arrays to gpu.shaders so we can use them for transform feedback formats 2009-07-25 11:30:59 -05:00
Slava Pestov dbf04ff2ca opengl is for chumps 2009-07-19 14:34:24 -05:00