summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-18fix bug on GL_VERTEX_PROGRAM_TWO_SIDE pathBrian
2007-12-18setup the frontface register (fog.y, ATM)Brian
2007-12-18fix some semantic info mix-ups in calculate_vertex_layout()Brian
2007-12-18gallium: rationalize vertex_element state packetKeith Whitwell
Remove dst_offset (not used) Add nr_components, which could be calculated from format, but would be too much effort. Update i965 driver to cope.
2007-12-18gallium: give userbuffers some storage in the aub buffer poolKeith Whitwell
2007-12-18vbo: unmap and remap immediate vbo before/after each draw.Keith Whitwell
Also use BufferData(NULL) to get fresh storage and avoid synchronous operation where we would have to flush and wait for the fence after each draw because of the map. This will chew through a whole load of buffer space on small draws, so it isn't a proper solution. Need to support a no-fence or append mapping mode to do this right, or use user buffers.
2007-12-18i965: don't treat swz differently and upload vertex buffersZack Rusin
2007-12-17obsoleteBrian
2007-12-17updates for depth/stencil/alpha stateBrian
2007-12-17Emit declarations for constants (references to the const buffer)Brian
2007-12-17i965: index the destination offset with regards to the current indexZack Rusin
2007-12-17i965: return false when the function fails, not succeedsZack Rusin
2007-12-17Add the new test program for fp's.Zack Rusin
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