summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* gallium: added fb_width/height fields to softpipe contextBrian Paul2008-03-195-13/+18
| | | | | These are convenience fields. Otherwise, we have to check cbuf[0] or zsbuf in various places.
* gallium: add face, dirtyLevels params to pipe->texture_update()Brian Paul2008-03-194-4/+8
| | | | | This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed.
* gallium: set tc->surface_map = NULL after unmappingBrian2008-03-191-0/+1
|
* cell: Fix various stencil test code-gen bugsIan Romanick2008-03-181-27/+43
|
* cell: Correctly load stencil for PIPE_FORMAT_S8Z24_UNORMIan Romanick2008-03-181-3/+2
|
* cell: Fix depth read / write for s8z24.Ian Romanick2008-03-182-2/+24
| | | | Stencil is still broken.
* cell: Fix added whitespace errors.Ian Romanick2008-03-181-2/+2
|
* cell: Minor changes to make stencil not crashIan Romanick2008-03-182-5/+11
| | | | | | I'm not sure these are quite correct. The reflect demo doesn't assert anymore, but it doesn't produce correct results either. SPE-based vertex shader code needs to be disabled for relfect to run.
* cell: Move and (conditionally) silence debug codeIan Romanick2008-03-182-10/+39
|
* cell: Don't segfault when unbinding alpha / stencil / depth test stateIan Romanick2008-03-173-13/+29
|
* cell: Initial code-gen for alpha / stencil / depth testingIan Romanick2008-03-1715-170/+1409
| | | | | | | | Alpha test is currently broken because all per-fragment testing occurs before alpha is calculated. Stencil test is currently broken because the Z-clear code asserts if there is a stencil buffer.
* gallium: improvements, or extensions at least, to the passthrough pathKeith Whitwell2008-03-172-7/+18
| | | | Passthrough is actually more tricky than you'd think...
* gallium: finish remaining prim types for sp_vbuf_draw_arrays()Brian2008-03-161-0/+73
| | | | Not totally tested, but easily fixed if glitches are found.
* gallium: remove DOS carriage returnsBrian2008-03-143-654/+654
|
* gallium: remove DOS carriage returnsBrian2008-03-141-195/+195
|
* i915: check for NULL const buffer ptrBrian2008-03-141-1/+1
|
* gallium: fix some compiler warningsKeith Whitwell2008-03-142-2/+4
|
* gallium: need to all draw_flush() in softpipe_unmap_constant_buffers()Brian2008-03-131-0/+8
| | | | | Otherwise, we won't have our constants when we run the fragment shader. Fixes crash in glsl tests when SP_VBUF=1.
* gallium: in softpipe_get_vertex_info() generate a vbuf vertex_info with real ↵Brian2008-03-131-0/+12
| | | | | | attribs Can't use the EMIT_ALL shortcut/optimization anymore because of passthrough mode.
* gallium: plug in new sp_vbuf_draw_arrays() functionBrian2008-03-131-0/+57
| | | | | | Will be used for pass-through mode. Also, call draw_set_render() to register the vbuf stage. Should probably rename that function to something like draw_set_vbuf_stage().
* gallium: set surface status to CLEAR or DEFINED in clearing/drawing code.Brian2008-03-132-0/+13
| | | | | Otherwise, we were never setting these flags. This confused the state tracker. Fixes progs/demos/texenv.c, probably others.
* cell: Fix to work with commit fa9e7e9a8debb68611909ac2ffab527c6c39a3e5Ian Romanick2008-03-133-32/+15
|
* Replicate TXP changes in the SPU version of TGSI execIan Romanick2008-03-131-31/+14
| | | | | Replicate changes from commit ba75e82b6ebaf88dd2e4a8f764b2d296d715bf8a in spu_exec.c
* i915: handle NULL object in i915_bind_rasterizer_state()Brian2008-03-121-5/+6
|
* remove reference to obsolete ExtDivideBrian2008-03-121-4/+0
|
* tgsi: Remove ExtDivide field from existence. Implement OPCODE_TXP.Michal Krol2008-03-121-7/+5
|
* gallium: Add TEX_FILTER_ANISO img filterKeith Whitwell2008-03-123-30/+30
| | | | | | Hardware almost universally expects us to set a special filtering mode when anisotropic filtering is enabled, as opposed to varying a max-aniso values. Do this once in the state tracker & simplify the driver code.
* cell: check for NULL shader pointer in cell_bind_vs_state()Brian2008-03-111-1/+2
|
* gallium: rework CSO-related code in state trackerBrian2008-03-111-1/+2
| | | | | | | | | | Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers...
* gallium: Silence MSVC warnings.José Fonseca2008-03-122-5/+10
|
* Move SPE register allocator to rtasm codeIan Romanick2008-03-101-72/+29
| | | | | Move the register allocator to a common location. There is more code on the way that will make use of this interface.
* cell: sync up with sampler/texture state-setting changesBrian2008-03-103-12/+28
|
* gallium: WinCE portability fixes.José Fonseca2008-03-103-5/+5
|
* gallium: michel's patch to rework texture/sampler binding interfaceKeith Whitwell2008-03-0517-2371/+2468
| | | | | Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand.
* scons: List sp_screen.c.Michal Krol2008-02-291-0/+1
|
* cell: convert all points/lines to tris for the time beingBrian2008-02-281-0/+4
| | | | Allows more programs to look correct. We'll want native points/lines someday.
* cell: remove obsolete texture fieldBrian2008-02-281-1/+0
|
* Make sure struct pipe_screen is declared.Michel Dänzer2008-02-281-0/+1
|
* gallium: Remove extra level of indirecttion.José Fonseca2008-02-281-1/+1
|
* gallium: added draw_num_vs_outputs() to query number of post-transform ↵Brian2008-02-271-2/+2
| | | | vertex attribs
* gallium/i965: remove more dependencies on pipe_shader_state semantic infoBrian2008-02-273-5/+5
|
* gallium/i965: added const to silence warningBrian2008-02-271-1/+1
|
* cell: fix minor get_tex_surface() breakageBrian2008-02-271-1/+2
|
* gallium/i965: remove brw_shader_info structBrian2008-02-278-28/+21
| | | | | | The info it contained is now found in tgsi_shader_info. Added a few assertions to catch potential misunderstandings about register counts vs. highest register index used.
* gallium/i965: silence warningsBrian2008-02-272-1/+2
|
* gallium/i965: added const to silence warningsBrian2008-02-271-1/+1
|
* gallium/i965: remove UsesDepth, UsesKill - use tgsi_shader_info insteadBrian2008-02-273-6/+4
|
* gallium/i965: remove dependencies on pipe_shader_state's semantic infoBrian2008-02-276-12/+22
| | | | The brw_shader_info struct is rendundant and could be removed...
* gallium: remove dependencies on pipe_shader_state's semantic infoBrian2008-02-272-3/+3
|
* gallium: remove unnecessary assignmentBrian2008-02-271-1/+0
|