Damien Lespiau f0365d40b4 assembler: Don't use GL types
sed -i -e 's/GLuint/unsigned/g' -e 's/GLint/int/g' \
       -e 's/GLfloat/float/g' -e 's/GLubyte/uint8_t/g' \
       -e 's/GLshort/int16_t/g' assembler/*.[ch]

Drop the GL types here, they don't bring anything to the table. For
instance, GLuint has no guarantee to be 32 bits, so it does not make too
much sense to use it in structure describing hardware tables and
opcodes.

Of course, some bikeshedding can be applied to use uin32_t instead, I
figured that some of the GLuint are used without size constraints, so
a sed with uint32_t did not seem the right thing to do. On top of that
initial sed, one bothered enough could change the structures with size
constraints to actually use uint32_t.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-03-04 15:54:42 +00:00
..
2013-03-04 15:54:37 +00:00
2013-03-04 15:54:42 +00:00
2013-03-04 15:54:42 +00:00
2013-03-04 15:54:42 +00:00
2013-03-04 15:54:42 +00:00
2013-03-04 15:54:42 +00:00
2013-03-04 15:54:42 +00:00
2013-03-04 15:54:42 +00:00
2013-03-04 15:54:42 +00:00
2013-03-04 15:54:26 +00:00
2013-03-04 15:54:39 +00:00
2013-03-04 15:54:42 +00:00
2013-03-04 15:54:37 +00:00
2013-03-04 15:54:37 +00:00

intel-gen4asm is a program to compile an assembly language for the Intel 965
Express Chipset.  It has been used to construct programs for textured video in
the 2d driver.

Some examples of gen4 assembly programs are in the doc/examples directory.

Note that the language parsed by this assembler is not exactly what the final
language is going to look like.  In particular, the send instructions need to
be cleaned up and made more reasonable to program with.