summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-17gallium: incorporate alpha state into depth_stencil state object.Keith Whitwell
2007-12-17965: remove dead state atom declsKeith Whitwell
2007-12-17965: fix for non-indexed draw pathKeith Whitwell
2007-12-17965: fix/hack check for NULL texunit in state uploadKeith Whitwell
2007-12-17965: fix ExtDivide checkKeith Whitwell
2007-12-17965: put brw_constant_buffer atom directly in update listKeith Whitwell
2007-12-16switch on cpp instead of formatBrian
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-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