get gpu vocabs to load with c-type changes
							parent
							
								
									263ce45932
								
							
						
					
					
						commit
						31264538e3
					
				| 
						 | 
				
			
			@ -7,6 +7,7 @@ io io.encodings.ascii io.files io.files.temp kernel math
 | 
			
		|||
math.matrices math.parser math.vectors method-chains sequences
 | 
			
		||||
splitting threads ui ui.gadgets ui.gadgets.worlds
 | 
			
		||||
ui.pixel-formats specialized-arrays specialized-vectors ;
 | 
			
		||||
FROM: alien.c-types => float ;
 | 
			
		||||
SPECIALIZED-ARRAY: float
 | 
			
		||||
SPECIALIZED-VECTOR: uint
 | 
			
		||||
IN: gpu.demos.bunny
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,9 @@ lexer locals math math.order math.parser namespaces opengl
 | 
			
		|||
opengl.gl parser quotations sequences slots sorting
 | 
			
		||||
specialized-arrays strings ui.gadgets.worlds variants
 | 
			
		||||
vocabs.parser words ;
 | 
			
		||||
SPECIALIZED-ARRAY: float
 | 
			
		||||
FROM: math => float ;
 | 
			
		||||
QUALIFIED-WITH: alien.c-types c
 | 
			
		||||
SPECIALIZED-ARRAY: c:float
 | 
			
		||||
SPECIALIZED-ARRAY: int
 | 
			
		||||
SPECIALIZED-ARRAY: uint
 | 
			
		||||
SPECIALIZED-ARRAY: void*
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,8 +2,10 @@
 | 
			
		|||
USING: accessors alien.c-types arrays byte-arrays combinators gpu
 | 
			
		||||
kernel literals math math.rectangles opengl opengl.gl sequences
 | 
			
		||||
variants specialized-arrays ;
 | 
			
		||||
QUALIFIED-WITH: alien.c-types c
 | 
			
		||||
FROM: math => float ;
 | 
			
		||||
SPECIALIZED-ARRAY: int
 | 
			
		||||
SPECIALIZED-ARRAY: float
 | 
			
		||||
SPECIALIZED-ARRAY: c:float
 | 
			
		||||
IN: gpu.state
 | 
			
		||||
 | 
			
		||||
UNION: ?rect rect POSTPONE: f ;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue