summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* gallium: remove depth.occlusion_count flagKeith Whitwell2009-10-013-5/+0
| | | | | | | This was redundant as drivers can just keep track of whether they are inside a begin/end query pair. We want to add more query types later and also support nested queries, none of which map well onto a flag like this. No driver appeared to be using the flag.
* llvmpipe: Workaround for bug in llvm 2.5.José Fonseca2009-09-291-1/+14
| | | | | | | | The combination of fptosi and sitofp (necessary for trunc/floor/ceil/round implementation) somehow becomes invalid code. Skip the instruction combining pass when SSE4.1 is not available.
* llvmpipe: First verify LLVM IR, only then run optimizing passes.José Fonseca2009-09-291-5/+5
|
* llvmpipe: Runtime cpu checks for lp_build_min_simple too.José Fonseca2009-09-291-10/+9
|
* llvmpipe: Implement non SSE4.1 versions of floor and round.José Fonseca2009-09-293-35/+159
|
* Merge branch 'mesa_7_6_branch'Brian Paul2009-09-291-0/+5
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile configs/default docs/relnotes.html src/gallium/drivers/softpipe/sp_context.c src/gallium/drivers/softpipe/sp_tile_cache.c src/mesa/main/version.h
| * softpipe: initialize the clear_flags bitvector in sp_create_tile_cache()Brian Paul2009-09-291-0/+5
| | | | | | | | | | This silences tons of valgrind warnings in programs that don't call glClear(), such as progs/demos/gamma.
| * softpipe: Grab a ref when the fb is set.Brian Paul2009-09-292-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | Nasty bug when the surface is freed and another is allocated right on top of it. The next time we set the fb state SP thinks it's the same surface and doesn't flush, and when the flush eventually happens the surface belongs to a completely different texture. (cherry picked from commit a77226071f6814a53358a5d6caff685889d0e4ec) Conflicts: src/gallium/drivers/softpipe/sp_context.c
* | llvmpipe: Emit SSE intrinsics based on runtime cpu capability check.José Fonseca2009-09-294-51/+37
| | | | | | | | | | | | | | Note that llvmpipe still doesn't run on any processor yet: if you don't have a recent processor with SSE4.1 you will still likely end up hitting a code path for which a generic non-sse4 version is not implemented yet.
* | i915: Fix MSVC build.Vinson Lee2009-09-291-1/+1
| |
* | llvmpipe: Grab a ref when the fb is set.Younes Manton2009-09-282-4/+9
| | | | | | | | Based on softpipe commit a77226071f6814a53358a5d6caff685889d0e4ec.
* | softpipe: Fix MSVC build.José Fonseca2009-09-281-1/+2
| |
* | r300g: fix r300g cause GPU hang issue.Cooper Yuan2009-09-281-3/+2
| | | | | | | | | | | | | | why there are two input position semantic tags is that ureg doesn't set vs input semantic due to commit: 6d8dbd3d1ec888 so use vs input index instead of semantic name.
* | g3dvl: Formatting and cleanups.Younes Manton2009-09-273-179/+172
| |
* | g3dvl: pipe_video_context interface, softpipe impl, auxiliary libsYounes Manton2009-09-276-2/+379
| |
* | r300g: fix erroneous conditionMaciej Cencora2009-09-271-1/+1
| |
* | r300g: don't force vertex position for HW TCL pathMaciej Cencora2009-09-271-1/+3
| | | | | | | | It could be generated by vertex shader.
* | r300g: add some assertionsMaciej Cencora2009-09-271-0/+3
| | | | | | | | Not sure why we are getting a shader with two inputs with position semantic, but we don't know how to handle it correctly so it's better to stop the app than lock the machine.
* | r300g: plug memory leakMaciej Cencora2009-09-271-1/+1
| |
* | r300g: add some debugging infoMaciej Cencora2009-09-271-10/+20
| |
* | r300g: fix r300 rs pathDave Airlie2009-09-281-2/+2
| |
* | r300g: rewrite RS state setup.Dave Airlie2009-09-281-24/+13
| | | | | | | | | | Not 100% sure this is correct, but its more correct than what was here previous however it may require changes in the input routing for the frag shader.
* | r300g: silence compiler warningDave Airlie2009-09-281-1/+1
| |
* | i915g: Submit direct vertex buffersJakob Bornecrantz2009-09-271-2/+31
| |
* | i915g: Fix warningJakob Bornecrantz2009-09-271-1/+1
| |
* | i915g: Tile shared buffers as wellJakob Bornecrantz2009-09-271-0/+47
| |
* | i915g: Use booleanJakob Bornecrantz2009-09-271-1/+1
| |
* | softpipe: Grab a ref when the fb is set.Younes Manton2009-09-272-4/+9
| | | | | | | | | | | | | | Nasty bug when the surface is freed and another is allocated right on top of it. The next time we set the fb state SP thinks it's the same surface and doesn't flush, and when the flush eventually happens the surface belongs to a completely different texture.
* | r300g: add tx depth support in register.Dave Airlie2009-09-262-0/+8
| | | | | | | | also enable cube/3d bits in txformat reg
* | r300g: only pass complete texture state to hw setup functionDave Airlie2009-09-261-15/+12
| | | | | | | | | | No point passing things twice here, also allows more state to be setup properly.
* | r300g: add missing break in OQ emitDave Airlie2009-09-261-0/+1
| |
* | llvmpipe: Allow building with LLVM 2.6 too.José Fonseca2009-09-263-0/+15
| |
* | r300g: report GL1.5, enable cap bits for OQ and shadow.Dave Airlie2009-09-261-4/+2
| | | | | | | | | | | | | | Its not like it works well on 1.3 so may as well reach for greater heights. Signed-off-by: Dave Airlie <[email protected]>
* | r300g: add z16 unorm texture formatDave Airlie2009-09-261-0/+2
| |
* | r300g: fix texture pitch to correct value.Dave Airlie2009-09-261-1/+1
| | | | | | | | pitch is pixels - 1, not bytes.
* | softpipe: Grab fs output z from the correct file.Michal Krol2009-09-251-1/+1
| |
* | softpipe: Do not advertise support for L16 and YCBCR formats.Michal Krol2009-09-251-0/+3
| |
* | nv50: fix TEX for WriteMask not equal 0xfChristoph Bumiller2009-09-251-4/+5
| | | | | | | | | | If you e.g. only need alpha, it ends up in the first reg, not the last, as it would when reading rgb too.
* | nv50: actually enable view volume clippingChristoph Bumiller2009-09-251-1/+10
| | | | | | | | | | | | | | Until now, only primitives wholly outside the view volume were not drawn. This was only visibile when using a viewport smaller than the window size, naturally.
* | nv50: RCP and RSQ cannot load from VP inputsChristoph Bumiller2009-09-251-1/+21
| |
* | nv50: fix CEIL and TRUNCChristoph Bumiller2009-09-251-4/+5
| | | | | | | | Separated the integer rounding mode flag for cvt.
* | nv50: implement BGNLOOP, BRK, ENDLOOPChristoph Bumiller2009-09-251-2/+75
| | | | | | | | | | | | There's a good chance a loop won't execute correctly though since our TEMP allocation assumes programs to be executed linearly. Will fix later.
* | nv50: implement IF, ELSE, ENDIF opcodesChristoph Bumiller2009-09-251-42/+146
| |
* | r300g: add texture format for xvmcCooper Yuan2009-09-251-0/+3
| |
* | llvmpipe: add missing __FUNCTION__ parameter to debug_printf() callsBrian Paul2009-09-241-4/+8
| |
* | llvmpipe: increase max 3D texture size to 256Brian Paul2009-09-241-1/+1
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-241-1/+1
|\| | | | | | | | | | | Conflicts: src/mesa/vbo/vbo_exec_array.c
| * Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-241-1/+1
| |\
| | * softpipe: Increase GL_MAX_3D_TEXTURE_SIZE to 256.Vinson Lee2009-09-241-1/+1
| | |
* | | gallium/trace: casts to silence warningsBrian Paul2009-09-241-4/+4
| | |