summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* r300g: Silence uninitialized variable warning.Vinson Lee2010-09-241-0/+1
| | | | | | | Silence this GCC warning. r300_state_derived.c: In function 'r300_update_derived_state': r300_state_derived.c:578: warning: 'r' may be used uninitialized in this function r300_state_derived.c:578: note: 'r' was declared here
* r600g: bring over fix from old path to new pathJerome Glisse2010-09-243-24/+173
| | | | | | | | | | Up to 2010-09-19: r600g: fix tiling support for ddx supplied buffers 9b146eae2521d8e5f6d3cbefa4f6f7737666313a user buffer seems to be broken... new to fix that. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix evergreen new pathJerome Glisse2010-09-242-8/+6
| | | | | | glxgears seems to work, had somelockup but now they seems to have vanish. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix reg definitionJerome Glisse2010-09-241-1/+3
| | | | | | Doesn't bother fixing old path code, just disable that reg. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix evergreen new pathJerome Glisse2010-09-242-165/+256
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fixup some evergreen register definitionsJerome Glisse2010-09-242-56/+56
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* llvmpipe: make texture border_color dynamic stateBrian Paul2010-09-244-2/+10
|
* llvmpipe: make min/max lod and lod bias dynamic stateBrian Paul2010-09-246-4/+42
| | | | | | Before, changing any of these sampler values triggered generation of new JIT code. Added a new flag for the special case of min_lod == max_lod which is hit during auto mipmap generation.
* r600g: fix compilation after change to evergreend.hJerome Glisse2010-09-241-2/+2
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: evergreen fix for new designJerome Glisse2010-09-243-41/+36
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* nvfx: add RGB framebuffer format support in addition to BGRLuca Barbieri2010-09-242-0/+8
|
* nvfx: allow setting NULL constant buffersLuca Barbieri2010-09-241-1/+1
|
* r600g: break alu clause earlierAndre Maasikas2010-09-241-2/+3
| | | | we still have constants to add and next int may need also 6 slots
* r600g: fix polygon modeDave Airlie2010-09-242-1/+20
| | | | this fixes glean'pointSprite test.
* r600g: fixup sprite coord enable.Dave Airlie2010-09-241-1/+2
| | | | this fixes piglit glsl-fs-pointcoord
* r600g: fix typo in r700 alu emitDave Airlie2010-09-241-1/+1
|
* r600g: fixup VP->FP output->input routing.Dave Airlie2010-09-244-2/+19
| | | | | | We need to map the TGSI semantics to each other using the hw semantic ids. this fixes glsl-kwin-blur and glsl-routing.
* r600g: fixup tex wrapping.Dave Airlie2010-09-242-8/+8
| | | | the clamp edge/clamp cases were reversed.
* r600g: drop index_offset parameter to index buffer translate.Dave Airlie2010-09-241-17/+13
| | | | r600 doesn't need this as we always have working index bias
* r600g: fix draw-elements and draw-elements-base-vertexDave Airlie2010-09-243-6/+8
|
* r600g: some more vertex formatsDave Airlie2010-09-242-4/+11
|
* r600g: add some more vertex format support.Dave Airlie2010-09-247-11/+92
| | | | adds the sscaled formats, this passes some more of the draw-vertices tests.
* r600g: add vert support for 16/16 and 16/16/16 floats.Dave Airlie2010-09-241-0/+3
| | | | makes draw-vertices-half-float pass
* r300g: fix the border color for every format other than PIPE_FORMAT_B8G8R8A8Marek Olšák2010-09-243-6/+84
| | | | | | | TX_BORDER_COLOR should be formatted according to the texture format. Also the interaction with ARB_texture_swizzle should be fixed too. NOTE: This is a candidate for the 7.9 branch.
* r300g: fix a copy-paste typo for loggingMarek Olšák2010-09-241-3/+3
|
* r300g: Always try to build libr300compiler.aTom Stellard2010-09-231-0/+1
| | | | | | | | Make libr300compiler.a a PHONY target so that this library will always be built. This fixes the problem of libr300compiler.a not being updated when r300g is being built and r300c is not. This is a candidate for the Mesa 7.9 branch.
* r300g: fix point sprite coord.Dave Airlie2010-09-241-3/+1
| | | | | | handled elsewhere now. thanks to Droste on irc for pointing out the fix
* r600g: initial evergreen support in new pathJerome Glisse2010-09-236-115/+2099
| | | | | | This doesn't work yet. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: Destroy the blitter.Tilman Sauerbeck2010-09-231-0/+2
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* r600g: fix warnings since last commit.Dave Airlie2010-09-231-3/+3
|
* r600g: use blitter to do db->cb flushing.Dave Airlie2010-09-238-959/+145
| | | | | | | | | | | | use the blitter + custom stage to avoid doing a whole lot of state setup by hand. This makes life a lot easier for doing this on evergreen it also keeps all the state setup in one place. We setup a custom context state at the start with a flag to denote its for the flush, when it gets generated we generate the correct state for the flush and no longer have to do it all by hand. this should also make adding texture *to* depth easier.
* rbug: fix rbug when contexts are being destroyedZack Rusin2010-09-221-0/+1
|
* r600g: fix depth readback on rv610 and other quirky variants.Dave Airlie2010-09-232-12/+32
| | | | at least zreaddraw works for me here now on my rv610
* r600g: use floats instead of hex for blit vboDave Airlie2010-09-231-10/+9
| | | | once I go past 0x3f80000, I can't translate hex to float in-brain anymore.
* r600g: fix multiple occlusion query on same idJerome Glisse2010-09-222-3/+11
| | | | | | | When calling query begin using same query id we need to discard previous query results. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: disable shader rebuild optimization & account cb flush packetJerome Glisse2010-09-221-21/+4
| | | | | | | | | Shader rebuild should be more clever, we should store along each shader all the value that change shader program rather than using flags in context (ie change sequence like : change vs buffer, draw, change vs buffer, switch shader will trigger useless shader rebuild). Signed-off-by: Jerome Glisse <[email protected]>
* llvmpipe: fix sprite texcoord setup for non-projective texturingBrian Paul2010-09-221-27/+58
| | | | | | | | Normally the Mesa state tracker uses TXP instructions for texturing. But if a fragment shader uses texture2D() that's a TEX instruction. In that case we were incorrectly computing the texcoord coefficients in the point sprite setup code. Some new comments in the code explain things.
* llvmpipe: Make rgb/alpha bland func/factors match, when there is no alpha.José Fonseca2010-09-221-14/+8
| | | | Makes AoS blending easier, and state more canonical.
* llvmpipe: Special case complementary and identify blend factors in SoA.José Fonseca2010-09-224-44/+79
| | | | | | | | One multiplication instead of two. Also fix floating point random number generation and verification. TODO: Do the same for AoS blending.
* nvfx: remove gl_PointCoord hackLuca Barbieri2010-09-221-7/+6
| | | | Now Gallium has the proper fix, thanks to Brian Paul.
* r600g: disable dirty handling on texture from depth code.Dave Airlie2010-09-221-8/+1
| | | | | | | nothing was every dirtying the object again, the mesa-demos reflect test was just stalling. this fixes glean readPixSanity.
* r600g: make stencil readback workDave Airlie2010-09-221-2/+1
| | | | need to write two components to get stencil components as well
* r600g: cleanup some of the DB blit codeDave Airlie2010-09-222-4/+65
| | | | | | | | | add cb/db flush states to the blit code. add support for the rv6xx that need special treatment. according to R6xx_7xx_3D.pdf set r700 CB_SHADER_CONTROL reg in blit code docs say dual export should be disabled for DB->CB
* r600g: fix typo in struct member nameDave Airlie2010-09-225-7/+7
|
* r600g: occlusion query for new designJerome Glisse2010-09-212-1/+84
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* softpipe: add missing calls to set draw vertex samplers/viewsBrian Paul2010-09-211-0/+8
| | | | Part of the fix for running softpipe w/ LLVM-enabled draw module.
* r600g: fix multi buffer renderingJerome Glisse2010-09-211-2/+2
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: directly allocate bo for user bufferJerome Glisse2010-09-212-3/+39
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* llvmpipe: When failing free fs shader too.José Fonseca2010-09-211-0/+1
|
* llvmpipe: Describe how to profile llvmpipe.José Fonseca2010-09-211-0/+38
|