summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
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
2010-11-02r600g: List recently added files in SConscript.José Fonseca
2010-11-01scons: Revamp how to specify targets to build.José Fonseca
Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
2010-10-28gallivm: Remove the EMMS opcodes.José Fonseca
Unnecessary now that lp_set_target_options() successful disables MMX code emission.
2010-10-28gallium: Avoid using __doc__ in python scripts.José Fonseca
2010-10-27Fix build on systems where "python" is python 3.Kenneth Graunke
First, it changes autoconf to use a "python2" binary when available, rather than plain "python" (which is ambiguous). Secondly, it changes the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling python directly. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Matthew William Cox <matt@mattcox.ca> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2010-10-27r300g: add a default channel ordering of texture border for unhandled formatsMarek Olšák
It should fix the texture border for compressed textures. Broken since 8449a4772a73f613d9425b691cffba6a261df813.
2010-10-27r600g: Silence uninitialized variable warnings.Vinson Lee
2010-10-27r300g: Silence uninitialized variable warning.Vinson Lee
Fixes this GCC warning. r300_state_derived.c: In function 'r300_update_derived_state': r300_state_derived.c:593: warning: 'r' may be used uninitialized in this function r300_state_derived.c:593: note: 'r' was declared here
2010-10-27r600g: Destroy the blitter.Tilman Sauerbeck
This fix got lost in the state rework merge. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-10-26r600g: add assembler support for all the kcache fields.Dave Airlie
2010-10-26r600g: fix magic 0x1 ->flat shade enaDave Airlie
2010-10-24r300g: fix texture border for 16-bits-per-channel formatsMarek Olšák
This is kinda hacky, but it's hard to come up with a generic solution for all formats when only a few are used in practice (I mostly get B8G8R8*8).
2010-10-24r600g: drop more common state handling codeDave Airlie
2010-10-24r600g: Also clear bc data when we're destroying a shader.Tilman Sauerbeck
[airlied: remove unused vars] Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-24r600g: Added r600_pipe_shader_destroy().Tilman Sauerbeck
Not yet complete. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-24r600g: merge more of the common r600/evergreen state handlingDave Airlie
2010-10-24r600g: Fixed r600_vertex_element leak.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-23softpipe: remove >32bpp color restrictionBrian Paul
The comment was out of date. The tile cache does handle >32-bit colors.
2010-10-23softpipe: added some texture sample debug code (disabled)Brian Paul
2010-10-22r300g: say no to PIPE_CAP_STREAM_OUTPUT and PIPE_CAP_PRIMITIVE_RESTARTMarek Olšák
2010-10-22r300g: do not print get_param errors in non-debug buildMarek Olšák
2010-10-22galahad: silence warningsBrian Paul
2010-10-21llvmpipe: enable primitive restartBrian Paul
2010-10-21softpipe: enable primitive restartBrian Paul
2010-10-21r600g: start splitting out common code from eg/r600.Dave Airlie
no point duplicating code that doesn't touch hw, also make it easier to spot mistakes
2010-10-21r600g: initial translate state supportDave Airlie
2010-10-21llvmpipe: Remove unnecessary header.Vinson Lee
2010-10-21r600g: add texture tiling enable under a debug option.Dave Airlie
At the moment you need kernel patches to have texture tiling work with the kernel CS checker, so once they are upstream and the drm version is bumped we can make this enable flip the other way most likely.
2010-10-21r600g: add texture tiling alignment support.Dave Airlie
this sets things up to align stride/height with tile sizes, it also adds support for the 2D/1D array mode cross over point.
2010-10-21r600g: introduce a per-driver resource flag for transfers.Dave Airlie
this is to be used to decide not to tile a surface being used for transfers.
2010-10-21r600g: add r600 surface to store the aligned height.Dave Airlie
we need to know the aligned height when binding the surface to cb/zb, not the gallium surface height.
2010-10-21r600g: start adding hooks for aligning width/height for tiles.Dave Airlie
2010-10-21r600g: move to per-miplevel array mode.Dave Airlie
Since the hw transitions from 2D->1D sampling below the 2D macrotile size we need to keep track of the array mode per level so we can render to it using the CB.
2010-10-21r600g: all non-0 mipmap levels need to be w/h aligned to POT.Dave Airlie
this adds a new minify function to the driver to ensure this.
2010-10-20llvmpipe/draw: always enable LLVMAddInstructionCombiningPass()Brian Paul
We were working around an LLVM 2.5 bug but we're using LLVM 2.6 or later now. This basically reverts commit baddcbc5225e12052b3bc8c07a8b65243d76574d. This fixes the piglit bug/tri-tex-crash.c failure.
2010-10-20r600g: Ensure r600_src is initialized in tgsi_exp function.Vinson Lee
Silences these GCC warnings. r600_shader.c: In function 'tgsi_exp': r600_shader.c:2339: warning: 'r600_src[0].rel' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].abs' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].neg' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].chan' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].sel' is used uninitialized in this function
2010-10-19llvmpipe: Initialize variable.Vinson Lee
2010-10-19llvmpipe: Initialize state variable in debug_bin function.Vinson Lee
2010-10-18r300g: Add new debug option for logging vertex/fragment program statsTom Stellard
2010-10-18llvmpipe: Don't test rounding of x.5 numbers.José Fonseca
SSE4.1 has different rules, and so far this doesn't seem to cause any problems with conformance test suites.