summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-11-15r600g: Add PIPE_FORMAT_L8A8_UNORM for Evergreen as well.Henri Verbeet
2010-11-15r600g: Evergreen has two extra frac_bits for the sampler LOD state.Henri Verbeet
The (piglit) mipmap_limits test shows the issue very clearly.
2010-11-15gallium/noop: no operation gallium driverJerome Glisse
This driver is a fake swdri driver that perform no operations beside allocation gallium structure and buffer for upper layer usage. It's purpose is to help profiling core mesa/gallium without having pipe driver overhead hidding hot spot of core code. scons file are likely inadequate i am unfamiliar with this build system. To use it simply rename is to swrast_dri.so and properly set LIBGL_DRIVERS_PATH env variable. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-11-14r300g: return shader caps from Draw for SWTCL vertex shadersMarek Olšák
2010-11-14r300g: clean up redundancy in draw functionsMarek Olšák
2010-11-13r300g: fix texture border color for all texture formatsMarek Olšák
This fixes 8 texwrap format tests. The code should handle arbitrary formats now and is cleaner. NOTE: This is a candidate for the 7.9 branch.
2010-11-12svga: fill out CAPs for indirect addressingMarek Olšák
As per the ps_3_0 and vs_3_0 documentation. The aL register in D3D9 is quite tricky to use, though.
2010-11-12r600g: fill out CAPs for indirect addressingMarek Olšák
2010-11-12r300g: fill out CAPs for indirect addressingMarek Olšák
To match shader model 2.0 (it's impossible to fully implement ARL with shader model 3.0 relative addressing).
2010-11-12nvfx: fill out CAPs for indirect addressingMarek Olšák
To match shader model 2.0.
2010-11-12nv50: fill out CAPs for indirect addressingMarek Olšák
2010-11-12i965g: fill out CAPs for indirect addressingMarek Olšák
2010-11-12i915g: fill out CAPs for indirect addressingMarek Olšák
2010-11-11r600g: enforce minimum stride on render target texture imagesKeith Whitwell
Fixes piglit/fbo_readpixels since staging upload changes.
2010-11-11r600g: do not try to use staging resource for depth texturesKeith Whitwell
Currently r600_resource_copy_region() will turn these copies into transfers + memcpys, so to avoid recursion we must not turn those transfers back into blits.
2010-11-11r600g: guard experimental s3tc code with R600_ENABLE_S3TCKeith Whitwell
2010-11-11nvfx: fill PIPE_CAP_PRIMITIVE_RESTART and PIPE_CAP_SHADER_STENCIL_EXPORTLucas Stach
Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-10galahad: Correct the name of the scons libraryJakob Bornecrantz
2010-11-10r300g: turn magic numbers into names in the hyperz codeMarek Olšák
2010-11-10r300g: rename has_hyperz -> can_hyperzMarek Olšák
2010-11-10r300g: mention ATI in the renderer stringMarek Olšák
2010-11-09r600: fix my pessimism about PIPE_TRANSFER_x flagsKeith Whitwell
For some reason I though we needed the _DISCARD flag to avoid readbacks, which isn't true at all. Now write operations should pipeline properly, gives a good speedup to demos/tunnel.
2010-11-09r600g: translate ARR instructionKeith Whitwell
2010-11-09r600g: attempt to turn on DXTn formatsKeith Whitwell
Seems to sort-of work for non-mipmapped textures. Better than just black anyway.
2010-11-09r600g: avoid recursion with staged uploadsKeith Whitwell
Don't use an intermediate for formats which don't support hardware blits under u_blitter.c, as these will recursively attempt to create a transfer.
2010-11-09softpipe: can't no-op depth test stage when occlusion query is enabledBrian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31479
2010-11-08r600g: implement texture_get_handle (needed for eglExportDRMImageMESA)Benjamin Franzke
2010-11-07r600g: Mention AMD in the renderer string.Henri Verbeet
2010-11-05softpipe: disable vertex texturing with draw/llvmBrian Paul
This is a temporary work around to prevent crashes with glean/glsl1 (for example) which try to do vertex shader texturing.
2010-11-04llvmpipe: added some debug assertions, but disabledBrian Paul
2010-11-04r300g: Do not use buf param before checking for NULL.Guillermo S. Romero
Commit 8dfafbf0861fe3d2542332658dd5493851053c78 forgot to update r300g. There is a buf == NULL check, but buf is used before for var init. Tested-by: Guillermo S. Romero <gsromero@infernal-iceberg.com>
2010-11-03r600g: Swap the util_blitter_destroy call order.José Fonseca
Trivial change that avoids a segmentation fault when the blitter state happens to be bound when the context is destroyed. The free calls should probably removed altogether in the future -- the responsibility to destroy the state atoms lies with whoever created it, and the safest thing for the pipe driver is to not touch any bound state in its destructor.
2010-11-03evergreeng: set hardware pixelcenters according to gl_rasterization_rulesKeith Whitwell
2010-11-03evergreeng: respect linewidth state, use integer widths onlyKeith Whitwell
Discard fractional bits from linewidth. This matches the nvidia closed drivers, my reading of the OpenGL SI and current llvmpipe behaviour. It looks a lot nicer & avoids ugliness where lines alternate between n and n+1 pixels in width along their length. Also fix up r600g to match.
2010-11-03r600g: don't call debug_get_bool_option for tiling more than onceKeith Whitwell
2010-11-03evergreeng: protect against null constant buffersKeith Whitwell
Should do better than this and actually unbind the buffer, but haven't yet gotten it to work.
2010-11-03r600g: set hardware pixel centers according to gl_rasterization_rulesKeith Whitwell
These were previously being left in the default (D3D) mode. This mean that triangles were drawn slightly incorrectly, but also because this state is relied on by the u_blitter code, all blits were half a pixel off.
2010-11-03r600g: remove unused flink, domain fields from r600_resourceKeith Whitwell
These were being set but not used anywhere.
2010-11-03r600g: use a buffer in GTT as intermediate on texture up and downloadsKeith Whitwell
Generalize the existing tiled_buffer path in texture transfers for use in some non-tiled up and downloads. Use a staging buffer, which the winsys will restrict to GTT memory. GTT buffers have the major advantage when they are mapped, they are cachable, which is a very nice property for downloads, usually the CPU will want to do look at the data it downloaded.
2010-11-03r600g: propogate resource usage flags to winsys, use to choose bo domainsKeith Whitwell
This opens the question of what interface the winsys layer should really have for talking about these concepts. For now I'm using the existing gallium resource usage concept, but there is no reason not use terms closer to what the hardware understands - eg. the domains themselves.
2010-11-03r600g: propagate usage flags in texture transfersKeith Whitwell
2010-11-02r600g: Destroy the winsys in r600_destroy_screen().Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-02r600g: Delete custom_dsa_flush on shutdown.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-02r600g: We don't support PIPE_CAP_PRIMITIVE_RESTART.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-11-02llvmpipe: add a castBrian Paul
2010-11-02llvmpipe: assign context's frag shader pointer before using itBrian Paul
The call to draw_bind_fragment_shader() was using the old fragment shader. This bug would have really only effected the draw module's use of the fragment shader in the wide point stage.
2010-11-02st/mesa: unbind constant buffer when not in useKeith Whitwell
Important as more constant buffers per shader start to get used. Fix up r600 (tested) and nv50 (untested) to cope with this. Drivers previously didn't see unbinds of constant buffers often or ever, so this isn't always dealt with cleanly. For r600 just return and keep the reference. Will try to do better in a followup change.
2010-11-02llvmpipe: guard against NULL task->query pointerKeith Whitwell
This doesn't seem like it should be possible, but some test suites manage to hit this case. Avoid crashing release builds under those circumstances.
2010-11-02llvmpipe: avoid generating tri_16 for tris which extend past tile boundsKeith Whitwell
Don't trim triangle bounding box to scissor/draw-region until after the logic for emitting tri_16. Don't generate tri_16 commands for triangles with untrimmed bounding boxes outside the current tile. This is important as the tri-16 itself can extend past tile bounds and we don't want to add code to it to check against tile bounds (slow) or restrict it to locations within a tile (pessimistic).
2010-11-02scons: Add aliases for several pipe drivers.José Fonseca