Commit graph

115447 commits

Author SHA1 Message Date
Zack Rusin
4fa7afabc9 i965: very crude and hacky way of handling immediates 2007-12-20 12:54:23 -05:00
Eric Anholt
b2f62609d0 [intel] Allow driver hooks to be NULL in intel_buffers.c and just update flags.
The 965 driver relies on flag checking instead of these hooks, and will be
using this code soon.
2007-12-20 08:24:45 -08:00
Eric Anholt
fcd1e9dad6 [i915] Move meta_draw_quad into the vtbl with other meta operations. 2007-12-20 08:19:42 -08:00
Brian
2761cfce46 return correct size from glGetActiveUniform (bug 13751) 2007-12-20 09:06:05 -07:00
Keith Whitwell
a85535b7cb gallium: make state tracker explictly ask for rendercache flushes 2007-12-20 13:47:46 +00:00
Keith Whitwell
9e41d547db 965: respect pipe flush flags
Now we emit way too many flushes instead of none at all.
2007-12-20 13:47:11 +00:00
Keith Whitwell
21c67b70d4 gallium: translate ARB fp/vp immediates consistently to tgsi immediates 2007-12-20 13:20:27 +00:00
Zack Rusin
ebf78c0dcc 965: fix the constant buffers 2007-12-20 07:05:52 -05:00
Xiang, Haihao
e543292335 i915: avoid dead lock in intel_meta_draw_poly. fix #13696 2007-12-20 16:49:25 +08:00
Brian
e9207430ce Add some prototype code for converting RET to END for main(). Disabled for now. 2007-12-19 14:06:22 -07:00
Brian
4a1776a763 temporarily defeat an assertion 2007-12-19 13:53:28 -07:00
Brian
c664302c3e Fix problem with initial viewport/scissor size.
If an app never called glViewport, the viewport size was always 0 by 0 pixels.
Now pass initial size to st_create_framebuffer() and initialize the viewport
and scissor bounds in st_make_current().
This could also be fixed by ensuring the gl_framebuffers passed to
_mesa_make_current() were initialized to the right size.  But that involves
allocating the renderbuffers/pipe_surfaces earlier and that runs into some
other issues ATM.
Also remove obsolete createRenderbuffers param to st_create_framebuffer().
2007-12-19 13:45:00 -07:00
Brian
1575763a6f convert Mesa OPCODE_END to TGSI_OPCODE_END, not TGSI_OPCOD_RET 2007-12-19 13:16:36 -07:00
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
Ben Skeggs
bf2410ca73 nouveau: nuke subchan auto-assign.
It's annoying for several reasons, especially in its current form.  May
possibly be reincarnated later (DDX depends on it these days), but in
not quite the same way.
2007-12-19 19:40:38 +11:00
Dan Nicholson
da693b7c89 Don't try to build nonexistent i915tex driver on linux-x86-64 2007-12-18 22:20:37 -08:00
Dan Nicholson
f71032b7e2 docs: Fix links in contribute section
The contribute section had a broken hyperlink, masking the mailing list
text.
2007-12-18 22:13:46 -08:00
Eric Anholt
d2d82f8a29 [915] Set cliprects in the drawbuffer software fallback case as well.
Otherwise, we may violate cliprect asssertions on clearing the buffers, which
isn't affected by the fallback.
2007-12-18 18:56:20 -08:00
Ben Skeggs
d67c2c1cd5 nouveau: remove sync hack, gallium got sort-of fixed. 2007-12-19 13:36:20 +11:00
Xiang, Haihao
4cca760a9b i965: allocate GRF registers before building subroutines,
it ensures there are sufficient registers for all subroutines.
2007-12-19 10:22:28 +08:00
Ben Skeggs
3e1e40ee79 Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1 2007-12-19 13:21:41 +11:00
Xiang, Haihao
e3a1ae0fcb i965: restore the flag after building the subroutine of the
GS thread. fix #13240
2007-12-19 09:59:37 +08:00