Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use tile functions in new p_tile.[ch] | Brian | 2007-12-15 | 5 | -261/+23 |
| | | | | 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 | 4 | -7/+26 |
| | | | | | | 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. | ||||
* | update_samplers() didn't respect the sampler->texunit mapping. | Brian | 2007-12-14 | 1 | -9/+16 |
| | | | | This fixes the glsl/texdemo1.c program. | ||||
* | set SamplerUnit[] entry in load_texture() just to be safe | Brian | 2007-12-14 | 1 | -0/+4 |
| | |||||
* | emit tgsi declarations for texture samplers | Brian | 2007-12-14 | 1 | -0/+27 |
| | |||||
* | set program->SamplersUsed bit when using a texture instruction | Brian | 2007-12-14 | 1 | -1/+3 |
| | |||||
* | Don't always declare frag shader INPUT[0] as fragment position. | Brian | 2007-12-14 | 12 | -230/+324 |
| | | | | | | | | | | | | 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 |
| | |||||
* | add missing code for PIPE_FORMAT_S8_UNORM renderbuffer | Brian | 2007-12-13 | 1 | -0/+4 |
| | |||||
* | 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. | ||||
* | Don't generate spurious vs, move the enable a bit to do that. | Zack Rusin | 2007-12-13 | 1 | -3/+3 |
| | |||||
* | 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 | 9 | -139/+173 |
| | | | | | | | | 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 |
| | |||||
* | update format param type | Brian | 2007-12-12 | 1 | -2/+4 |
| | |||||
* | Try PIPE_FORMAT_R5G6B5_UNORM for GL_RGB5 request. | Brian | 2007-12-12 | 1 | -0/+2 |
| | |||||
* | 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. | ||||
* | Add src/mesa to include path. | José Fonseca | 2007-12-12 | 1 | -0/+1 |
| | |||||
* | i915tex: remove. it's deprecated and causes merge problems | Zack Rusin | 2007-12-12 | 75 | -26184/+0 |
| | | | | | | | 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 | ||||
* | remove more -I paths | Brian | 2007-12-11 | 1 | -6/+5 |
| | |||||
* | prefix some #includes | Brian | 2007-12-11 | 1 | -5/+5 |
| |