Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 965: remove dead state atom decls | Keith Whitwell | 2007-12-17 | 2 | -20/+0 |
| | |||||
* | 965: fix for non-indexed draw path | Keith Whitwell | 2007-12-17 | 1 | -2/+5 |
| | |||||
* | 965: fix/hack check for NULL texunit in state upload | Keith Whitwell | 2007-12-17 | 1 | -0/+3 |
| | |||||
* | 965: fix ExtDivide check | Keith Whitwell | 2007-12-17 | 1 | -1/+1 |
| | |||||
* | 965: put brw_constant_buffer atom directly in update list | Keith Whitwell | 2007-12-17 | 1 | -2/+1 |
| | |||||
* | switch on cpp instead of format | Brian | 2007-12-16 | 1 | -7/+7 |
| | |||||
* | rename some 'mesa' functions | Brian | 2007-12-15 | 2 | -38/+31 |
| | |||||
* | Use tile functions in new p_tile.[ch] | Brian | 2007-12-15 | 4 | -261/+19 |
| | | | | This removes quite a bit of code duplicated in the drivers. | ||||
* | Re-usable tile get/put functions | Brian | 2007-12-15 | 2 | -0/+915 |
| | |||||
* | don't allocate scratch tile in sp_tile_cache_flush_clear() to avoid stack ↵ | Brian | 2007-12-15 | 1 | -4/+5 |
| | | | | overflow | ||||
* | Added origin_lower_left field to pipe_rasterizer_state | Brian | 2007-12-14 | 3 | -7/+24 |
| | | | | | | 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. | ||||
* | Don't always declare frag shader INPUT[0] as fragment position. | Brian | 2007-12-14 | 9 | -179/+279 |
| | | | | | | | | | | | | 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. | ||||
* | update comment for TGSI_TOKEN_TYPE_IMMEDIATE case | Brian | 2007-12-14 | 1 | -2/+3 |
| | |||||
* | remove unused var | Brian | 2007-12-13 | 1 | -2/+0 |
| | |||||
* | 965: get brw_wm_surface_state compiling again | Keith Whitwell | 2007-12-13 | 2 | -3/+11 |
| | |||||
* | 965: get fragment shader compiler compiling | Keith Whitwell | 2007-12-13 | 32 | -2038/+1795 |
| | | | | Don't think that it will run though. | ||||
* | i965: make the wm_surface compile | Zack Rusin | 2007-12-13 | 1 | -45/+45 |
| | |||||
* | 965: implement magic buffer offset callback | Keith Whitwell | 2007-12-13 | 1 | -0/+8 |
| | |||||
* | 965: magic callback to get buffer offset | Keith Whitwell | 2007-12-13 | 1 | -0/+9 |
| | |||||
* | Add QuadX,Y fields to tgsi_exec_machine to pass quad's position to tgsi ↵ | Brian | 2007-12-13 | 3 | -5/+13 |
| | | | | | | | | 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. | ||||
* | 965: missing code from last commit | Keith Whitwell | 2007-12-13 | 5 | -17/+11 |
| | |||||
* | 965: remove dead code | Keith Whitwell | 2007-12-13 | 2 | -150/+0 |
| | |||||
* | 965: remove dead code | Keith Whitwell | 2007-12-13 | 2 | -224/+0 |
| | |||||
* | 965: remove dead code | Keith Whitwell | 2007-12-13 | 1 | -1007/+0 |
| | |||||
* | 965: remove dead code | Keith Whitwell | 2007-12-13 | 1 | -134/+9 |
| | |||||
* | 965: remove reference to metaops | Keith Whitwell | 2007-12-13 | 1 | -10/+0 |
| | |||||
* | 965: use state atom array directly | Keith Whitwell | 2007-12-13 | 1 | -32/+5 |
| | |||||
* | 965: calculate nr enabled vbos on the fly | Keith Whitwell | 2007-12-13 | 1 | -4/+7 |
| | |||||
* | Actually allocate the output registers. | Zack Rusin | 2007-12-13 | 1 | -21/+17 |
| | | | | | | In tgsi the output's will (hopefully) consecutive so this check (besides not being currently implemented) is not necessary. | ||||
* | added r5g5b5_put_tile_rgba() | Brian | 2007-12-12 | 1 | -2/+33 |
| | |||||
* | Remove get/put_tile_rgba() functions. | Brian | 2007-12-12 | 2 | -171/+5 |
| | | | | Temporarily, use the functions from sp_rgba_tile.c | ||||
* | remove #include | Brian | 2007-12-12 | 1 | -1/+1 |
| | |||||
* | Move float/rgba tile get/put functions into new file. | Brian | 2007-12-12 | 5 | -666/+784 |
| | | | | | | 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. | ||||
* | PIPE_SCREEN_SURFACE no longer needed | Brian | 2007-12-12 | 5 | -17/+6 |
| | |||||
* | Re-org of st_create_framebuffer() and renderbuffer format selection. | Brian | 2007-12-12 | 2 | -47/+78 |
| | | | | | | | | 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. | ||||
* | move some code to avoid deref of NULL ptr | Brian | 2007-12-12 | 1 | -3/+3 |
| | |||||
* | 965: remove complex compiler for simple fragment programs. | Keith Whitwell | 2007-12-12 | 6 | -2545/+0 |
| | | | | Keep the simple compiler for complex fragment programs... | ||||
* | 965: sketch changes to brw_wm_surface_state.c | Keith Whitwell | 2007-12-12 | 1 | -2/+14 |
| | |||||
* | 965: delete dead files | Keith Whitwell | 2007-12-12 | 2 | -66/+0 |
| | |||||
* | 965: delete dead files | Keith Whitwell | 2007-12-12 | 3 | -45/+0 |
| | |||||
* | 965: delete dead files | Keith Whitwell | 2007-12-12 | 3 | -669/+0 |
| | |||||
* | remove old assertion | Brian | 2007-12-12 | 1 | -1/+0 |
| | |||||
* | add PIPE_FORMAT_R5G6B5_UNORM to list of supported screen surface types | Brian | 2007-12-12 | 1 | -0/+1 |
| | |||||
* | fix some mistakes in the _PIPE_FORMAT_x #defines | Brian | 2007-12-12 | 1 | -5/+5 |
| | |||||
* | i965: compile vertex shaders and emit hardware instructions | Zack Rusin | 2007-12-12 | 1 | -203/+275 |
| | | | | | | 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. | ||||
* | trim down #includes | Brian | 2007-12-11 | 2 | -11/+5 |
| | |||||
* | include pipe/tgsi/exec/tgsi_sse2.h if needed. Silences warning. | Brian | 2007-12-11 | 1 | -1/+3 |
| | |||||
* | Cell: draw smooth-shaded triangle | Brian | 2007-12-11 | 4 | -60/+120 |
| | |||||
* | Collect some global vars in a single struct. | Brian | 2007-12-11 | 7 | -76/+97 |
| | |||||
* | Remove temporary cell_create_surface() | Brian | 2007-12-11 | 2 | -29/+5 |
| |