summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-14update_samplers() didn't respect the sampler->texunit mapping.Brian
This fixes the glsl/texdemo1.c program.
2007-12-14set SamplerUnit[] entry in load_texture() just to be safeBrian
2007-12-14emit tgsi declarations for texture samplersBrian
2007-12-14set program->SamplersUsed bit when using a texture instructionBrian
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-13add missing code for PIPE_FORMAT_S8_UNORM renderbufferBrian
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-13Don't generate spurious vs, move the enable a bit to do that.Zack Rusin
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-12update format param typeBrian
2007-12-12Try PIPE_FORMAT_R5G6B5_UNORM for GL_RGB5 request.Brian
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-12Add src/mesa to include path.José Fonseca
2007-12-12i915tex: remove. it's deprecated and causes merge problemsZack Rusin
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-11remove more -I pathsBrian
2007-12-11prefix some #includesBrian
2007-12-11trim down #includesBrian
2007-12-11trim down -I optionsBrian
2007-12-11include pipe/tgsi/exec/tgsi_sse2.h if needed. Silences warning.Brian