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
Eric Anholt
6f1bfdc4bf
[i915] Remove redundant set_draw_region code (like the comment says).
2007-12-17 17:01:07 -08:00
Eric Anholt
33487c15ba
[intel] Improve INTEL_DEBUG=blit description of clearing.
2007-12-17 16:57:59 -08:00
Eric Anholt
c24300f937
[intel] Fix copy'n'pasteo in decoding of the blit clear packet.
2007-12-17 16:53:51 -08:00
Eric Anholt
9a8819e767
[965] Add decode of 3DSTATE_DRAWING_RECTANGLE.
2007-12-17 16:53:47 -08:00
Eric Anholt
146030aad2
[965] Allow draw or depth regions to be NULL.
...
With FBOs, we end up wanting to do 3D metaops against one or the other without
having to find the other one to fill in if we're not going to draw to it.
2007-12-17 16:50:09 -08:00
Ben Skeggs
3af35c6dfa
nouveau: match latest gallium changes
2007-12-18 11:27:44 +11:00
Ben Skeggs
015871a075
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
2007-12-18 11:02:46 +11:00
Eric Anholt
447facfcd6
[965] Simplify scissor handling by using DrawBuffer values.
2007-12-17 15:30:04 -08:00
Eric Anholt
8336f3ffb7
[965] fix bad conflict resolution in debug code.
2007-12-17 14:42:31 -08:00
Eric Anholt
2c9e515d86
[965] Replace our own depth constants in intel context with GL context ones.
2007-12-17 14:28:54 -08:00
Eric Anholt
98d4355240
[965] Fix software fallbacks with region-backed textures.
2007-12-17 13:47:52 -08:00
Eric Anholt
c1d6b874b3
[intel] Cleanup of */intel_blit.c to bring the two closer.
2007-12-17 13:19:33 -08:00
Brian
04a5a8b3bc
updates for depth/stencil/alpha state
2007-12-17 14:06:17 -07:00
Eric Anholt
b3169a9c35
[965] Output the buffer type in INTEL_DEBUG=bat surface state decode.
2007-12-17 13:02:16 -08: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
Michel Dänzer
1e04132306
i915: Fix issues with glDrawBuffer(GL_NONE).
...
Don't dereference NULL renderbuffer pointer, and make sure the software
fallback sticks.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=13694 .
2007-12-17 12:20:56 +01:00
Ben Skeggs
c5ffd8e9af
nv40: fix valgrind complaints
2007-12-17 21:49:16 +11:00
Ben Skeggs
8043d2d261
nv40: clean state a bit
2007-12-17 21:45:13 +11: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
Xiang, Haihao
d859a60dc3
i965: check NULL pointer
2007-12-17 14:42:42 +08:00
Eric Anholt
d913a15898
[i915] Fix missing symbol from 965 changes.
2007-12-16 13:00:23 -08:00
Eric Anholt
1daf5b3ad6
[965] Fully initialize the texture surface key data (padding around GLboolean)
2007-12-16 12:09:22 -08:00
Eric Anholt
cbed2e4add
[965] Enable ARB_pixel_buffer_object, and disable broken imaging extension.
...
While I haven't tested the imaging extension, this matches what 915 does.
2007-12-16 11:46:10 -08:00
Eric Anholt
c0b4257aa9
[965] Move to using shared texture management code.
...
This removes the delayed texture upload optimization from 965, in exchange for
bringing us closer to PBO support. It also disables SGIS_generate_mipmap,
which didn't seem to be working before anyway, according to the lodbias demo.
2007-12-16 11:26:19 -08:00
Brian
41b1aa5109
switch on cpp instead of format
2007-12-16 10:00:51 -07:00
Ben Skeggs
7dcef36f4c
nouveau: bump pushbuf size a little, so a "full" packet can fit
2007-12-17 00:46:30 +11:00
Ben Skeggs
66013a252f
nv40: colormask thinko
2007-12-17 00:11:41 +11:00
Ben Skeggs
f7e99bf22c
nv40: don't use vertex buffers for static vertices.
2007-12-16 23:45:30 +11:00
Ben Skeggs
4c2a3356cf
nouveau: some cleanups
2007-12-16 21:31:28 +11:00
Ben Skeggs
b337ecdd8e
nv40: fix culling
2007-12-16 20:44:44 +11:00
Ben Skeggs
19af6e9161
nv40: typo
2007-12-16 20:21:37 +11:00
Ben Skeggs
f287f687fe
nv40: fp support for TGSI_FILE_IMMEDIATE.
...
arbfslight works, nouveau's first GLSL prog :)
2007-12-16 19:28:05 +11:00
Ben Skeggs
505e50de10
nv40: grow fragprog as needed
2007-12-16 18:36:18 +11:00
Ben Skeggs
ab4c2e014d
nv40: destroy programs
2007-12-16 16:01:25 +11:00
Ben Skeggs
af0b4a50e5
nv40: make vbo state update static
2007-12-16 15:49:49 +11:00
Brian
47b5138d2d
rename some 'mesa' functions
2007-12-15 16:51:57 -07:00
Brian
263e8f0572
Use tile functions in new p_tile.[ch]
...
This removes quite a bit of code duplicated in the drivers.
2007-12-15 16:44:29 -07:00
Brian
bccc4c5c01
Re-usable tile get/put functions
2007-12-15 16:42:22 -07:00
Eric Anholt
659baa3f25
[intel] Whitespace and comment changes to bring intel_mipmap_tree.c closer.
2007-12-15 13:09:58 -08:00
Eric Anholt
3fe9d5cbb7
[intel] Merge intel_buffer_objects to shared.
...
965 gains fixed TTM typing of the buffer object buffers and unused PBO
functions, and 915 gains buffer size == 0 fixes from 965.
2007-12-15 12:47:23 -08:00