Brian
7274e14d4a
fix xm_buffer_data
2007-08-18 09:22:15 +01:00
Brian
8339ca7d1e
replace memcpy() with assignment, better type safety
2007-08-17 12:40:35 -06:00
Brian
74e58c5b82
added CLIP_x_SHIFT vals
2007-08-17 12:34:40 -06:00
Brian
48b09322ee
write outputs according to vs.outputs_written
2007-08-17 12:31:13 -06:00
Brian
a2805a8165
added outputs_written field to pipe_shader_state
2007-08-17 12:30:30 -06:00
Brian
4973136e20
load machine.Inputs based on vs.inputs_read
2007-08-17 12:23:26 -06:00
Brian
a30939714c
added pipe ptr to draw_context
2007-08-17 12:19:40 -06:00
Brian
e3647578d1
compute clipmask
2007-08-17 12:09:50 -06:00
Brian
7668e53c8c
define CLIP_LEFT/RIGHT etc
2007-08-17 12:09:31 -06:00
Brian
83f428e799
shade four vertices at a time
2007-08-17 11:40:53 -06:00
Brian
cd3162f578
added align16() function
2007-08-17 11:40:06 -06:00
Brian
2fc54f5bb5
added uint64 type
2007-08-17 11:39:45 -06:00
Brian
8e4ed6323d
added null VB->AttribPtr[i] check
2007-08-17 15:38:29 +01:00
Brian
bc3f87683a
fix edgeflag bug
2007-08-17 15:37:22 +01:00
Brian
c5004c7db6
pack output vertex attributes in sequential slots
2007-08-17 15:28:17 +01:00
Brian
1e6d1ab6fc
tell vbo module to use bufferobjs
2007-08-17 15:27:18 +01:00
Brian
305b83a415
added call to _mesa_load_state_parameters()
2007-08-17 15:27:00 +01:00
Brian
5568a7d301
added vbo_use_buffer_objects() to specify that immediate mode data should be put into bufferobjects
2007-08-17 15:26:33 +01:00
Brian
89cda7bdc8
replace assertion w/ conditionals in xmesa_clear()
2007-08-17 10:50:06 +01:00
Brian
5b59e6116d
Use simple st->pipe->clear() in more cases for depth/stencil clears.
2007-08-17 10:49:36 +01:00
Brian
ae64d5c173
fix buffer clearing problems
2007-08-17 10:28:20 +01:00
Brian
93efcf50fa
assertions
2007-08-17 10:27:53 +01:00
Brian
04f2078860
added assertions, disable debug output
2007-08-17 10:27:37 +01:00
michal
24b2f30410
Break mesa dependencies.
...
Silence compiler warnings.
2007-08-16 19:50:08 +01:00
michal
f692cdb544
Silence compiler warnings.
2007-08-16 19:49:04 +01:00
michal
1b19aa522a
Break mesa dependencies.
...
Silence compiler warnings.
2007-08-16 19:47:18 +01:00
michal
2f559606dc
Silence compiler warnings.
2007-08-16 19:45:55 +01:00
michal
546f1fa019
Define ffs() for __WIN32__ & __MSC__.
...
Break mesa dependencies.
2007-08-16 19:44:53 +01:00
michal
bef9b40c39
Define __WIN32__.
2007-08-16 19:42:28 +01:00
michal
00b7a91508
Move VS code from st_atom_fs.c to st_atom_vs.c.
2007-08-16 18:29:45 +01:00
michal
a279b221bf
Cosmetic changes.
2007-08-16 18:17:07 +01:00
Brian
3fc926f374
Remove many dependencies on mesa headers.
...
To build with mesa, need -DMESA in makefile/config file.
2007-08-16 18:11:55 -06:00
Brian
e3bdd66bf6
misc changes to support vertex shaders (disabled by default)
2007-08-16 17:33:49 -06:00
Brian
bf55f32c6f
run real vertex shaders, a total hack for now
2007-08-16 17:33:05 -06:00
Brian
78d6d5e8fe
make pass-through vertex shader
2007-08-16 17:32:24 -06:00
Brian
9ba4311e71
check for null swrast (pipe work-around)
2007-08-16 17:30:38 -06:00
Brian
de653b4c9b
Begin added vertex shader state/support.
...
Renamed pipe_fs_state to pipe_shader_state since it can be used for both
vertex and fragment shader info.
2007-08-16 13:33:43 -06:00
Brian
ebe5107669
disable Z value scaling - it's done in sp_quad_depth_test.c
2007-08-16 13:12:24 -06:00
Brian
717cc0f214
move the draw_alloc/free_tmps() functions to draw_prim.c
2007-08-16 12:57:05 -06:00
Brian
fd0a6d6b47
Remove GL/mesa types, rearrange things into more logical groups
2007-08-16 12:57:05 -06:00
michal
4fb2f09fdd
Add missing inlcude directory.
2007-08-16 12:50:51 +01:00
michal
cbef86a6ea
Copy fragment z if the fragment shader does not write depth on its own.`
2007-08-16 12:44:04 +01:00
Brian
59bd1e260b
Drawing code refactoring.
...
Move code duplicated between draw_vb.c and sp_draw_arrays.c into draw_prim.c
draw_vb.c will eventually go away, but this seems like a good step anyway.
2007-08-16 12:37:26 -06:00
Brian
926323df86
point/line/polygon drawing (factored out of draw_vb.c)
2007-08-16 12:37:25 -06:00
michal
76f9f3ee83
Silence warnings.
2007-08-16 12:17:30 +01:00
michal
4fcfab3347
Silence warnings.
2007-08-16 12:16:57 +01:00
michal
e36b27cf86
Silence warnings.
2007-08-16 12:16:27 +01:00
michal
830169414e
Silence warnings.
2007-08-16 12:13:37 +01:00
michal
9982044a8d
Use 'f' for float suffix.
2007-08-16 12:12:14 +01:00
Keith Whitwell
b0b871429d
Remove mesa include directories, be stricter about include paths.
2007-08-15 23:48:48 +01:00