summaryrefslogtreecommitdiff
path: root/src/mesa/pipe
AgeCommit message (Collapse)Author
2007-12-15rename some 'mesa' functionsBrian
2007-12-15Use tile functions in new p_tile.[ch]Brian
This removes quite a bit of code duplicated in the drivers.
2007-12-15Re-usable tile get/put functionsBrian
2007-12-15don't allocate scratch tile in sp_tile_cache_flush_clear() to avoid stack ↵Brian
overflow
2007-12-14Added origin_lower_left field to pipe_rasterizer_stateBrian
This controls whether the window origin is considered to be the lower-left or upper-left corner. This effects computation of gl_FragCoord and the application of polygon stipple.
2007-12-14Don't always declare frag shader INPUT[0] as fragment position.Brian
We were doing this for the sake of softpipe and the tgsi intergrepter since we always need the fragment position and W-coordinate information in order to compute fragment interpolants. But that's not appropriate for hardware drivers. The tgsi interpreter now get x,y,w information from a separate tgsi_exec_vector variable setup by softpipe. The new pipe_shader_state->input_map[] defines how vert shader outputs map to frag shader inputs. It may go away though, since one can also examine the semantic label on frag shader input[0] to figure things out.
2007-12-14update comment for TGSI_TOKEN_TYPE_IMMEDIATE caseBrian
2007-12-13remove unused varBrian
2007-12-13965: get brw_wm_surface_state compiling againKeith Whitwell
2007-12-13965: get fragment shader compiler compilingKeith Whitwell
Don't think that it will run though.
2007-12-13i965: make the wm_surface compileZack Rusin
2007-12-13965: implement magic buffer offset callbackKeith Whitwell
2007-12-13965: magic callback to get buffer offsetKeith Whitwell
2007-12-13Add QuadX,Y fields to tgsi_exec_machine to pass quad's position to tgsi ↵Brian
interpreter. The tgsi linear/perspective attribute code now uses these values rather than input[0]. Need to update SSE path to take quad x,y as function params. Then, we can remove additional code.
2007-12-13965: missing code from last commitKeith Whitwell
2007-12-13965: remove dead codeKeith Whitwell
2007-12-13965: remove dead codeKeith Whitwell
2007-12-13965: remove dead codeKeith Whitwell
2007-12-13965: remove dead codeKeith Whitwell
2007-12-13965: remove reference to metaopsKeith Whitwell
2007-12-13965: use state atom array directlyKeith Whitwell
2007-12-13965: calculate nr enabled vbos on the flyKeith Whitwell
2007-12-13Actually allocate the output registers.Zack Rusin
In tgsi the output's will (hopefully) consecutive so this check (besides not being currently implemented) is not necessary.
2007-12-12added r5g5b5_put_tile_rgba()Brian
2007-12-12Remove get/put_tile_rgba() functions.Brian
Temporarily, use the functions from sp_rgba_tile.c
2007-12-12remove #includeBrian
2007-12-12Move float/rgba tile get/put functions into new file.Brian
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-12PIPE_SCREEN_SURFACE no longer neededBrian
2007-12-12Re-org of st_create_framebuffer() and renderbuffer format selection.Brian
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-12move some code to avoid deref of NULL ptrBrian
2007-12-12965: remove complex compiler for simple fragment programs.Keith Whitwell
Keep the simple compiler for complex fragment programs...
2007-12-12965: sketch changes to brw_wm_surface_state.cKeith Whitwell
2007-12-12965: delete dead filesKeith Whitwell
2007-12-12965: delete dead filesKeith Whitwell
2007-12-12965: delete dead filesKeith Whitwell
2007-12-12remove old assertionBrian
2007-12-12add PIPE_FORMAT_R5G6B5_UNORM to list of supported screen surface typesBrian
2007-12-12fix some mistakes in the _PIPE_FORMAT_x #definesBrian
2007-12-12i965: compile vertex shaders and emit hardware instructionsZack Rusin
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-11trim down #includesBrian
2007-12-11include pipe/tgsi/exec/tgsi_sse2.h if needed. Silences warning.Brian
2007-12-11Cell: draw smooth-shaded triangleBrian
2007-12-11Collect some global vars in a single struct.Brian
2007-12-11Remove temporary cell_create_surface()Brian
2007-12-11SPU function prototypes, etc.Brian
2007-12-11Port to libspe2Ian Romanick
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-11softpipe: Support for PIPE_FORMAT_A4R4G4B4_UNORM and PIPE_FORMAT_R5G6B5_UNORM.Michel Dänzer
The packedpixels test runs with the xlib winsys, though not all cases look correct yet.
2007-12-11Remove internal_format field from struct pipe_texture.Michel Dänzer
It's state tracker specific / not really necessary anyway.
2007-12-11Rework gallium and mesa queries a little.Keith Whitwell
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-11965: remove duplicate brw_draw functions, make init a bit cleanerKeith Whitwell