Ben Skeggs
6c14cf5834
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
17 years ago
Zack Rusin
4fa7afabc9
i965: very crude and hacky way of handling immediates
17 years ago
Keith Whitwell
a85535b7cb
gallium: make state tracker explictly ask for rendercache flushes
17 years ago
Keith Whitwell
9e41d547db
965: respect pipe flush flags
Now we emit way too many flushes instead of none at all.
17 years ago
Keith Whitwell
21c67b70d4
gallium: translate ARB fp/vp immediates consistently to tgsi immediates
17 years ago
Zack Rusin
ebf78c0dcc
965: fix the constant buffers
17 years ago
Brian
e9207430ce
Add some prototype code for converting RET to END for main(). Disabled for now.
17 years ago
Brian
4a1776a763
temporarily defeat an assertion
17 years ago
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().
17 years ago
Brian
1575763a6f
convert Mesa OPCODE_END to TGSI_OPCODE_END, not TGSI_OPCOD_RET
17 years ago
Brian
127ab73b38
remove obsolete TXP, add some sanity checks
17 years ago
Brian
cedf6892e7
special-case PSIZE too
17 years ago
Brian
dbf6eced87
move st_make_current() before buffer size check so renderbuffer alloc storage works
17 years ago
Brian
c61b32777b
new assertions
17 years ago
Keith Whitwell
d24a9b26fc
965: dump curbe contents to stderr
17 years ago
Keith Whitwell
5ff69cfd68
965: handle BRW_CONSTANT_BUFFER data type
17 years ago
Zack Rusin
a65f39f918
consts
17 years ago
Keith Whitwell
dc461d8c87
965: count grf allocation correctly for wm prog, first aub triangle
17 years ago
Keith Whitwell
86ddaa9d0e
965: hardwire correct behaviour for vp-tri setup (for now...)
17 years ago
Keith Whitwell
ded6ce2bd5
vp-tri: match vertex/color data of other tests
17 years ago
Keith Whitwell
ae280f1ce9
965: align buffer allocations to 4k
17 years ago
Keith Whitwell
2c8e50c0cb
use a depth buffer temporarily
17 years ago
Keith Whitwell
65f67baa42
965: make sure stipple state gets uploaded
17 years ago
Keith Whitwell
2e3dfe97ee
965: allocate buffer space to hold batch commands
17 years ago
Zack Rusin
f13a200c83
actually set the max_index. useful in the driver
17 years ago
Keith Whitwell
f367c57802
965: fill unused surface pointers with zero
17 years ago
Zack Rusin
bc1fc7d673
i965: emit fb write on RET for now (until we get END back)
17 years ago
Keith Whitwell
a0ce71b51d
965: pitch is in bytes not pixels
17 years ago
Keith Whitwell
05ec043d1c
965: fix off-by-one in scissor rect
17 years ago
Keith Whitwell
2f53713beb
965: fix off-by-one in surface dimensions
17 years ago
Keith Whitwell
1f37b4d87e
965: respect surface width when dumping bitmap
17 years ago
Zack Rusin
38de4c5715
i965: actually detect whether a sampler is enabled/disabled
17 years ago
Keith Whitwell
aba4ee24cf
965: disable clipping more, and restore drawing rect packet
17 years ago
Keith Whitwell
e039824757
965: disable clipping for now
17 years ago
Keith Whitwell
94c2ab2895
965: fix vertex pointsize state, match default cull mode
17 years ago
Keith Whitwell
4fd2a2ac6f
965: fix colormask state
17 years ago
Keith Whitwell
9791c16b31
965: populate fp_input_count in setup key
17 years ago
Zack Rusin
93d90c6b57
i965: stuff the outputs into mrf registers when possible
17 years ago
Zack Rusin
4e1a445866
i965: be smarter about register allocation
17 years ago
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.
17 years ago
Ben Skeggs
d67c2c1cd5
nouveau: remove sync hack, gallium got sort-of fixed.
17 years ago
Ben Skeggs
3e1e40ee79
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
17 years ago
Brian
d0a63de378
turn off TGSI_DEBUG
17 years ago
Brian
52da6b559a
fix bug on GL_VERTEX_PROGRAM_TWO_SIDE path
17 years ago
Brian
8c20747834
setup the frontface register (fog.y, ATM)
17 years ago
Brian
fb4eb8c91b
fix some semantic info mix-ups in calculate_vertex_layout()
17 years ago
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.
17 years ago
Keith Whitwell
208b2ad8ab
gallium: give userbuffers some storage in the aub buffer pool
17 years ago
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.
17 years ago
Zack Rusin
7cef9237ae
i965: don't treat swz differently and upload vertex buffers
17 years ago