Commit Graph

12880 Commits

Author SHA1 Message Date
Ben Skeggs 7f89c776e1 nv40: less dodgy vp const/insn handling 2007-12-15 03:49:35 +11:00
Ben Skeggs 868048fcc7 nv40: Do all fp setup in nv40_fragprog.c 2007-12-14 01:51:43 +11:00
Ben Skeggs 00f0f0d0a4 nouveau: mass renaming for consistency, no functional changes 2007-12-14 01:14:23 +11:00
Ben Skeggs 72d47f1949 nouveau: more adaption.. 2007-12-13 11:55:35 +11:00
Ben Skeggs f1c5415675 Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1 2007-12-13 10:41:43 +11:00
Brian 417c295333 added r5g5b5_put_tile_rgba() 2007-12-12 16:30:49 -07:00
Brian 4416514aa8 Remove get/put_tile_rgba() functions.
Temporarily, use the functions from sp_rgba_tile.c
2007-12-12 16:05:38 -07:00
Brian 034476fc78 remove #include 2007-12-12 16:04:52 -07:00
Brian a4ca2591f6 Move float/rgba tile get/put functions into new file.
This should be moved into a gallium util lib (location tbd) so it can also
be used by the state tracker.
Then, remove the pipe->get/put_tile_rgba() functions.
2007-12-12 16:00:11 -07:00
Brian 708251558c PIPE_SCREEN_SURFACE no longer needed 2007-12-12 15:24:01 -07:00
Brian 20eae595fa Re-org of st_create_framebuffer() and renderbuffer format selection.
st_create_framebuffer() now takes pipe_formats for the color, depth, stencil
buffers.
This avoids a round-about chain of calls to pipe->is_format_supported() for
window renderbuffers (their format never changes).
Renderbuffer format selection code in st_format.c is simpler now too.
2007-12-12 14:55:57 -07:00
Brian a51d0e419a move some code to avoid deref of NULL ptr 2007-12-12 14:45:22 -07:00
Keith Whitwell 06036bc8c4 965: remove complex compiler for simple fragment programs.
Keep the simple compiler for complex fragment programs...
2007-12-12 20:09:04 +00:00
Keith Whitwell ea7c533d40 965: sketch changes to brw_wm_surface_state.c 2007-12-12 20:09:04 +00:00
Keith Whitwell 216de6ab5b 965: delete dead files 2007-12-12 20:09:04 +00:00
Keith Whitwell 5978289df1 965: delete dead files 2007-12-12 20:09:03 +00:00
Keith Whitwell 20e6a9b86d 965: delete dead files 2007-12-12 20:09:03 +00:00
Brian 69292a0067 remove old assertion 2007-12-12 13:08:00 -07:00
Brian 829099210b add PIPE_FORMAT_R5G6B5_UNORM to list of supported screen surface types 2007-12-12 12:59:45 -07:00
Brian b22287d097 update format param type 2007-12-12 12:59:19 -07:00
Brian d7aa446369 Try PIPE_FORMAT_R5G6B5_UNORM for GL_RGB5 request. 2007-12-12 12:58:59 -07:00
Brian 77baacbab1 fix some mistakes in the _PIPE_FORMAT_x #defines 2007-12-12 12:58:04 -07:00
Zack Rusin a308a3e3f8 i965: compile vertex shaders and emit hardware instructions
impossible to test because fragment shaders haven't been done yet
and it crahses in the fragment shading code. but given that i'm
infallible (and highly dillusional) i'm sure it's correct.
2007-12-12 12:26:33 -05:00
José Fonseca eaa82d33bf Add src/mesa to include path. 2007-12-12 16:04:58 +00:00
Ben Skeggs 1fb9736898 nouveau: take jumps into account properly when debugging pushbuf 2007-12-13 01:04:12 +11:00
Ben Skeggs 805c5993a3 nv40: Fix bug in vtxprog + a few tweaks 2007-12-12 23:37:52 +11:00
Ben Skeggs 9114324b0b nv40: small bug 2007-12-12 23:31:16 +11:00
Zack Rusin 94e19777c9 i915tex: remove. it's deprecated and causes merge problems
we did some small changes in the beginning of the gallium3d
lifecycle in i915tex which is not in master anymore and just
causes problems when doing merges. getting rid of the headache
by just nuking it here
2007-12-12 05:48:10 -05:00
Ben Skeggs 79bca7dd88 nouveau: adapt
Some things that worked before are now broken, there's an "XXX:" around one
of the culprits in the GL state tracker so hopefully it'll get fixed soon!
2007-12-12 14:20:58 +11:00
Brian 1029c00a26 remove more -I paths 2007-12-11 19:17:31 -07:00
Brian 5dcc894ea2 prefix some #includes 2007-12-11 19:16:46 -07:00
Brian 6f467e5737 trim down #includes 2007-12-11 19:16:26 -07:00
Ben Skeggs 5891598012 Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
Conflicts:

	src/mesa/pipe/Makefile
2007-12-12 13:11:19 +11:00
Brian 68caa076a9 trim down -I options 2007-12-11 18:58:48 -07:00
Brian 3d9bdaa80b include pipe/tgsi/exec/tgsi_sse2.h if needed. Silences warning. 2007-12-11 18:58:32 -07:00
Brian b2ad30d571 Cell: draw smooth-shaded triangle 2007-12-11 18:26:52 -07:00
Brian 9828310a1b Collect some global vars in a single struct. 2007-12-11 15:29:05 -07:00
Brian fda387988c Remove temporary cell_create_surface() 2007-12-11 13:55:37 -07:00
Brian 457a96e777 SPU function prototypes, etc. 2007-12-11 13:49:48 -07:00
Ian Romanick 9a0fe23d49 Port to libspe2
libspe is deprecated in Cell SDK 2.1, and it is removed in Cell SDK 3.0.
This patch ports the existing libspe-based code to libspe2.  Some error
checking (eh-hem) would be nice.
2007-12-11 12:43:50 -08:00
Ian Romanick bfb43e8e79 Remove '-include altivec.h'.
Including altivec.h caused problems in some places that use "pixel" as a
variable name.
2007-12-11 12:41:12 -08:00
José Fonseca 25e658a7cf Mention 965 driver on main page. 2007-12-11 18:19:23 +00:00
José Fonseca 87e3566604 Write a nicer doxygen main page, based on the TG's Gallium3D technical overview pages. 2007-12-11 18:19:23 +00:00
José Fonseca 01434dd3bd Cover LLVM code in doxygen output. 2007-12-11 18:19:23 +00:00
Michel Dänzer f3789748d4 softpipe: Support for PIPE_FORMAT_A4R4G4B4_UNORM and PIPE_FORMAT_R5G6B5_UNORM.
The packedpixels test runs with the xlib winsys, though not all cases look
correct yet.
2007-12-11 19:10:56 +01:00
Michel Dänzer 88723b2fc8 Remove internal_format field from struct pipe_texture.
It's state tracker specific / not really necessary anyway.
2007-12-11 19:10:56 +01:00
Keith Whitwell 13699463a3 Rework gallium and mesa queries a little.
Add a 'CheckQuery()' driver callback to mesa to check query completion.
Make pipe_query an opaque type.
Rework softpipe queries, support overlapping occlusion queries.
2007-12-11 17:10:48 +00:00
Keith Whitwell b247ab0363 965: remove duplicate brw_draw functions, make init a bit cleaner 2007-12-11 17:10:48 +00:00
Keith Whitwell ecb5e14e86 gallium: remove clear values from depth, stencil state 2007-12-11 17:10:47 +00:00
Brian 4a4543f536 Fix align16() function to work with 32/64-bit pointers on big-endian. 2007-12-11 09:13:12 -07:00