Commit graph

13455 commits

Author SHA1 Message Date
Brian
127ab73b38 remove obsolete TXP, add some sanity checks 2007-12-19 13:16:36 -07:00
Brian
cedf6892e7 special-case PSIZE too 2007-12-19 13:16:36 -07:00
Brian
dbf6eced87 move st_make_current() before buffer size check so renderbuffer alloc storage works 2007-12-19 13:16:36 -07:00
Brian
c61b32777b new assertions 2007-12-19 13:16:36 -07:00
Keith Whitwell
d24a9b26fc 965: dump curbe contents to stderr 2007-12-19 19:05:19 +00:00
Keith Whitwell
5ff69cfd68 965: handle BRW_CONSTANT_BUFFER data type 2007-12-19 19:04:35 +00:00
Zack Rusin
a65f39f918 consts 2007-12-19 18:49:46 +00:00
Keith Whitwell
dc461d8c87 965: count grf allocation correctly for wm prog, first aub triangle 2007-12-19 15:48:53 +00:00
Keith Whitwell
86ddaa9d0e 965: hardwire correct behaviour for vp-tri setup (for now...) 2007-12-19 15:16:25 +00:00
Keith Whitwell
ded6ce2bd5 vp-tri: match vertex/color data of other tests 2007-12-19 15:13:20 +00:00
Keith Whitwell
ae280f1ce9 965: align buffer allocations to 4k 2007-12-19 14:20:23 +00:00
Keith Whitwell
2c8e50c0cb use a depth buffer temporarily 2007-12-19 13:13:53 +00:00
Keith Whitwell
65f67baa42 965: make sure stipple state gets uploaded 2007-12-19 13:13:53 +00:00
Keith Whitwell
2e3dfe97ee 965: allocate buffer space to hold batch commands 2007-12-19 13:13:53 +00:00
Zack Rusin
f13a200c83 actually set the max_index. useful in the driver 2007-12-19 07:50:29 -05:00
Keith Whitwell
f367c57802 965: fill unused surface pointers with zero 2007-12-19 12:23:30 +00:00
Zack Rusin
bc1fc7d673 i965: emit fb write on RET for now (until we get END back) 2007-12-19 07:11:16 -05:00
Keith Whitwell
a0ce71b51d 965: pitch is in bytes not pixels 2007-12-19 11:49:56 +00:00
Keith Whitwell
05ec043d1c 965: fix off-by-one in scissor rect 2007-12-19 11:37:16 +00:00
Keith Whitwell
2f53713beb 965: fix off-by-one in surface dimensions 2007-12-19 11:37:16 +00:00
Keith Whitwell
1f37b4d87e 965: respect surface width when dumping bitmap 2007-12-19 11:37:16 +00:00
Zack Rusin
38de4c5715 i965: actually detect whether a sampler is enabled/disabled 2007-12-19 06:24:16 -05:00
Keith Whitwell
aba4ee24cf 965: disable clipping more, and restore drawing rect packet 2007-12-19 11:10:35 +00:00
Keith Whitwell
e039824757 965: disable clipping for now 2007-12-19 11:10:35 +00:00
Keith Whitwell
94c2ab2895 965: fix vertex pointsize state, match default cull mode 2007-12-19 11:10:35 +00:00
Keith Whitwell
4fd2a2ac6f 965: fix colormask state 2007-12-19 11:10:35 +00:00
Keith Whitwell
9791c16b31 965: populate fp_input_count in setup key 2007-12-19 11:10:35 +00:00
Zack Rusin
93d90c6b57 i965: stuff the outputs into mrf registers when possible 2007-12-19 05:28:28 -05:00
Zack Rusin
4e1a445866 i965: be smarter about register allocation 2007-12-19 04:58:35 -05:00
Brian
d0a63de378 turn off TGSI_DEBUG 2007-12-18 16:01:53 -07:00
Brian
52da6b559a fix bug on GL_VERTEX_PROGRAM_TWO_SIDE path 2007-12-18 16:01:53 -07:00
Brian
8c20747834 setup the frontface register (fog.y, ATM) 2007-12-18 16:01:53 -07:00
Brian
fb4eb8c91b fix some semantic info mix-ups in calculate_vertex_layout() 2007-12-18 16:01:53 -07:00
Keith Whitwell
c31416971e gallium: rationalize vertex_element state packet
Remove dst_offset (not used)
Add nr_components, which could be calculated from format, but would be
too much effort.

Update i965 driver to cope.
2007-12-18 17:25:33 +00:00
Keith Whitwell
208b2ad8ab gallium: give userbuffers some storage in the aub buffer pool 2007-12-18 16:57:17 +00:00
Keith Whitwell
9d4ab42f4b vbo: unmap and remap immediate vbo before/after each draw.
Also use BufferData(NULL) to get fresh storage and avoid synchronous
operation where we would have to flush and wait for the fence after each
draw because of the map.

This will chew through a whole load of buffer space on small draws, so
it isn't a proper solution.  Need to support a no-fence or append mapping
mode to do this right, or use user buffers.
2007-12-18 16:56:22 +00:00
Zack Rusin
7cef9237ae i965: don't treat swz differently and upload vertex buffers 2007-12-18 09:59:54 -05:00
Brian
e2a669aed4 obsolete 2007-12-17 20:41:20 -07:00
Brian
04a5a8b3bc updates for depth/stencil/alpha state 2007-12-17 14:06:17 -07:00
Brian
8978627ad0 Emit declarations for constants (references to the const buffer) 2007-12-17 14:00:35 -07:00
Zack Rusin
aeb5362281 i965: index the destination offset with regards to the current index 2007-12-17 14:36:31 -05:00
Zack Rusin
531efbab75 i965: return false when the function fails, not succeeds 2007-12-17 14:05:46 -05:00
Zack Rusin
55c1894d0a Add the new test program for fp's. 2007-12-17 13:23:47 -05:00
Keith Whitwell
bfe79babf9 gallium: incorporate alpha state into depth_stencil state object. 2007-12-17 16:14:29 +00:00
Keith Whitwell
556e247cee 965: remove dead state atom decls 2007-12-17 10:30:38 +00:00
Keith Whitwell
3be91c5a49 965: fix for non-indexed draw path 2007-12-17 10:30:38 +00:00
Keith Whitwell
95adfb9fec 965: fix/hack check for NULL texunit in state upload 2007-12-17 10:30:38 +00:00
Keith Whitwell
b52e4477f8 965: fix ExtDivide check 2007-12-17 10:30:38 +00:00
Keith Whitwell
ae858511d0 965: put brw_constant_buffer atom directly in update list 2007-12-17 10:30:38 +00:00
Brian
41b1aa5109 switch on cpp instead of format 2007-12-16 10:00:51 -07:00