Commit Graph

12776 Commits

Author SHA1 Message Date
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
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
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
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
Brian 23ca30e24b change align_malloc() alignment to uint 2007-12-11 09:09:06 -07:00
Brian 5b8b542cb2 Move align_malloc(), align_free() to p_util.h 2007-12-11 09:00:01 -07:00
Brian 9f0e5642d8 use ALIGN16_ATTRIB from p_compiler.h 2007-12-11 09:00:01 -07:00
Brian 1bc303283e Remove obsolete clear_color, tex sampler state 2007-12-11 09:00:01 -07:00
Brian 6465c78049 Remove obsolete clear_color, tex sampler state functions 2007-12-11 09:00:01 -07:00
Brian f9562ff85d add missing case statements for TGSI_TOKEN_TYPE_IMMEDIATE and assert(0)
We're hitting this with quite a few Mesa demos.
2007-12-11 08:18:47 -07:00
Zack Rusin a0dacbf369 Adopt llvm to some of the latest changes. 2007-12-11 09:49:34 -05:00
Zack Rusin 63a9d835ce Redo the fragment program examples to match vp's
we just load text files instead of compiling tons of small
binaries
2007-12-11 09:49:34 -05:00
Zack Rusin 025b140b2f Add a simple fps counter to the example 2007-12-11 09:49:33 -05:00
Zack Rusin 6dc4e6ae15 Redo the way we pass arguments to the llvm.
simply pass aligned arrays, they should cast to vectors without
any problems. also remove unnecessary memset
2007-12-11 09:49:33 -05:00