summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* set SamplerUnit[] entry in load_texture() just to be safeBrian2007-12-141-0/+4
|
* emit tgsi declarations for texture samplersBrian2007-12-141-0/+27
|
* set program->SamplersUsed bit when using a texture instructionBrian2007-12-141-1/+3
|
* Don't always declare frag shader INPUT[0] as fragment position.Brian2007-12-1412-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 caseBrian2007-12-141-2/+3
|
* add missing code for PIPE_FORMAT_S8_UNORM renderbufferBrian2007-12-131-0/+4
|
* remove unused varBrian2007-12-131-2/+0
|
* 965: get brw_wm_surface_state compiling againKeith Whitwell2007-12-132-3/+11
|
* 965: get fragment shader compiler compilingKeith Whitwell2007-12-1332-2038/+1795
| | | | Don't think that it will run though.
* i965: make the wm_surface compileZack Rusin2007-12-131-45/+45
|
* 965: implement magic buffer offset callbackKeith Whitwell2007-12-131-0/+8
|
* 965: magic callback to get buffer offsetKeith Whitwell2007-12-131-0/+9
|
* Add QuadX,Y fields to tgsi_exec_machine to pass quad's position to tgsi ↵Brian2007-12-133-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 commitKeith Whitwell2007-12-135-17/+11
|
* 965: remove dead codeKeith Whitwell2007-12-132-150/+0
|
* 965: remove dead codeKeith Whitwell2007-12-132-224/+0
|
* 965: remove dead codeKeith Whitwell2007-12-131-1007/+0
|
* 965: remove dead codeKeith Whitwell2007-12-131-134/+9
|
* 965: remove reference to metaopsKeith Whitwell2007-12-131-10/+0
|
* 965: use state atom array directlyKeith Whitwell2007-12-131-32/+5
|
* 965: calculate nr enabled vbos on the flyKeith Whitwell2007-12-131-4/+7
|
* Actually allocate the output registers.Zack Rusin2007-12-131-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()Brian2007-12-121-2/+33
|
* Remove get/put_tile_rgba() functions.Brian2007-12-122-171/+5
| | | | Temporarily, use the functions from sp_rgba_tile.c
* remove #includeBrian2007-12-121-1/+1
|
* Move float/rgba tile get/put functions into new file.Brian2007-12-125-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 neededBrian2007-12-125-17/+6
|
* Re-org of st_create_framebuffer() and renderbuffer format selection.Brian2007-12-129-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 ptrBrian2007-12-121-3/+3
|
* 965: remove complex compiler for simple fragment programs.Keith Whitwell2007-12-126-2545/+0
| | | | Keep the simple compiler for complex fragment programs...
* 965: sketch changes to brw_wm_surface_state.cKeith Whitwell2007-12-121-2/+14
|
* 965: delete dead filesKeith Whitwell2007-12-122-66/+0
|
* 965: delete dead filesKeith Whitwell2007-12-123-45/+0
|
* 965: delete dead filesKeith Whitwell2007-12-123-669/+0
|
* remove old assertionBrian2007-12-121-1/+0
|
* add PIPE_FORMAT_R5G6B5_UNORM to list of supported screen surface typesBrian2007-12-121-0/+1
|
* update format param typeBrian2007-12-121-2/+4
|
* Try PIPE_FORMAT_R5G6B5_UNORM for GL_RGB5 request.Brian2007-12-121-0/+2
|
* fix some mistakes in the _PIPE_FORMAT_x #definesBrian2007-12-121-5/+5
|
* i965: compile vertex shaders and emit hardware instructionsZack Rusin2007-12-121-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.
* i915tex: remove. it's deprecated and causes merge problemsZack Rusin2007-12-1275-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 pathsBrian2007-12-111-6/+5
|
* prefix some #includesBrian2007-12-111-5/+5
|
* trim down #includesBrian2007-12-112-11/+5
|
* trim down -I optionsBrian2007-12-111-2/+4
|
* include pipe/tgsi/exec/tgsi_sse2.h if needed. Silences warning.Brian2007-12-111-1/+3
|
* Cell: draw smooth-shaded triangleBrian2007-12-114-60/+120
|
* Collect some global vars in a single struct.Brian2007-12-117-76/+97
|
* Remove temporary cell_create_surface()Brian2007-12-112-29/+5
|
* SPU function prototypes, etc.Brian2007-12-111-0/+61
|