summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-08-25r300g: clean up some mess in set_constant_bufferMarek Olšák
2010-08-25r300g: fix indentationMarek Olšák
2010-08-25r300g: reset the index bias to 0 at the end of CSMarek Olšák
2010-08-24nvfx: Initialize variables on error path.Vinson Lee
2010-08-24r600g: Add support for PIPE_FORMAT_R32_FLOAT.Henri Verbeet
2010-08-23nvfx: Remove unnecessary headers.Vinson Lee
2010-08-23r300g: Remove unused variable.Vinson Lee
Fixes this GCC warning. r300_render.c: In function 'r300_draw_flush_vbuf': r300_render.c:988: warning: unused variable 'r300_render'
2010-08-24r600g: add XPD supportDave Airlie
ported from r600c.
2010-08-24r600g: add CMP support.Dave Airlie
ported from r600c, fixes fp-cmp, glsl1-sqrt*
2010-08-24nvfx: don't emit dummy commands on nv30Luca Barbieri
Should fix errors on the original nv30, reported by pmdata.
2010-08-23r600g: Add support for PIPE_CAP_DEPTH_CLAMP.Henri Verbeet
2010-08-23r600g: export one component per pixel + r7xx uncompression shaderJerome Glisse
We need to always at least export one component (wether it's depth or color. Add valid r7xx shader program for depth decompression. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-23nvfx: improve fp temp accountingLuca Barbieri
2010-08-23nvfx: emit bo relocations only when neededLuca Barbieri
Should improve performance, possibly significantly.
2010-08-23nvfx: match Gallium's gl_PointCoord brokennessLuca Barbieri
Gallium always puts gl_PointCoord in GENERIC[0] if point_quad_rasterization is enabled. This is silly, but for now it makes mesa-demos/glsl/pointcoord work.
2010-08-23nvfx: support clip planes sensibly and fix them on nv30Luca Barbieri
Before, we were discarding the compiled vertex program on each vertex program change. Now we compile the program as if there were 6 clip planes and dynamically patch in an "end program" bit at the right place. Also, nv30 should now work.
2010-08-23r300g: avoid stall in no-tcl drawing when mapping vboDave Airlie
the current code reuses the same vbo over and over, however after a flush we'd stall and wait for mapping on the vbo when we should just fire and forget. On a gears test this brings me from ~620 to ~750 on my rv530 in swtcl mode. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-08-23nvfx: fix minor memory leakLuca Barbieri
2010-08-23nvfx: support both sprite coord originsLuca Barbieri
Now we lie less when claiming OpenGL 2 support. Also, first piglit result group is now all green, except for fdo25614-genmipmap, which seems mesa/st's fault.
2010-08-23nvfx: use 64-bit bitmasks for tempsLuca Barbieri
2010-08-22r600g: fix DB decompressionJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-22nvfx: Include missing header in nvfx_vertprog.c.Vinson Lee
Include draw_context.h for draw_*_vertex_shader symbols. Fixes the following GCC warning. nvfx_vertprog.c: In function 'nvfx_vp_state_create': nvfx_vertprog.c:1276: warning: implicit declaration of function 'draw_create_vertex_shader' nvfx_vertprog.c:1276: warning: assignment makes pointer from integer without a cast nvfx_vertprog.c: In function 'nvfx_vp_state_delete': nvfx_vertprog.c:1298: warning: implicit declaration of function 'draw_delete_vertex_shader'
2010-08-22nvfx: refactor to support multiple fragment program versionsLuca Barbieri
2010-08-22nvfx: move stuff aroundLuca Barbieri
2010-08-22r600g: depth buffer likely needs decompression when used as textureJerome Glisse
Before using depth buffer as texture, it needs to be decompressed (tile pattern of db are different from one used for colorbuffer like texture) Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-22llvmpipe: reduce size of fragment shader variant keyKeith Whitwell
Don't spend as much time comparing them.
2010-08-22llvmpipe: remove unused member from lp_fragment_shader_variant_keyKeith Whitwell
2010-08-22llvmpipe: don't clear unused binsKeith Whitwell
If bins outside the current scene bounds are being corrupted, we'll need to fix that separately. Currently seems ok though.
2010-08-22nvfx: simplify and correct fragment program update logicLuca Barbieri
This version should hopefully be much clearer and thus less likely to be subtly broken. Also fixes point sprites on nv40 and possibly some other bugs too.
2010-08-22nvfx: make stipple setting independent of enableLuca Barbieri
2010-08-22nvfx: fix vertex programsLuca Barbieri
2010-08-22nvfx: use relocations array for vp constantsLuca Barbieri
2010-08-22svga: Do not shortcut NULL surface relocations with SVGA3D_INVALID_ID.José Fonseca
How to cope with NULL surface relocations should be entirely at winsys' discretion.
2010-08-22nvfx: Silence unused variable warning.Vinson Lee
The variable is used but only in the body of an assert.
2010-08-21nvfx: Silence uninitialized variable warnings.Vinson Lee
Variables weren't initialized on the error paths.
2010-08-21i965g: Silence printf format warnings on 64-bit builds.Vinson Lee
2010-08-21nvfx: Silence uninitialized variable warnings.Vinson Lee
Silence the following i686-apple-darwin10-gcc-4.2.1 warnings. nv04_2d.c: In function 'nv04_region_copy_cpu': nv04_2d.c:560: warning: 'dswy' may be used uninitialized in this function nv04_2d.c:559: warning: 'dswx' may be used uninitialized in this function nv04_2d.c:562: warning: 'sswy' may be used uninitialized in this function nv04_2d.c:561: warning: 'sswx' may be used uninitialized in this function
2010-08-21nv50: Silence incompatible pointer type initialization warning.Vinson Lee
Silence the following GCC warning. warning: initialization from incompatible pointer type
2010-08-21nv50: Disable unused code.Vinson Lee
Disable release_hw and emit_mov_from_pred functions as they are currently not being used.
2010-08-21i965g: Fix printf format warning on 32-bit platforms.Vinson Lee
Fixes the following GCC warning on 32-bit platforms. warning: format '%li' expects type 'long int', but argument 4 has type 'int'
2010-08-21r600g: partialy fix texturing from depth buffer + initial support for untilingJerome Glisse
Partialy fix texturing from depth buffer, depth buffer is tiled following different tile organisation that color buffer. This properly set the tile type & array mode field of texture sampler when sampling from db resource. Add initial support to untiling buffer when transfering them, it's kind of broken by corruption the vertex buffer of previous draw. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-21nvfx: actually fix it properlyLuca Barbieri
2010-08-21nvfx: fix incorrect assertLuca Barbieri
2010-08-21nvfx: Fix SCons build.Vinson Lee
Move declarations before code. Fix void pointer arithmetic.
2010-08-21nvfx: fix warningsLuca Barbieri
2010-08-21nvfx: enable translate_sseLuca Barbieri
2010-08-21scons: Fix nvfx build.Vinson Lee
2010-08-21nvfx: slightly improve handling of overlong vpsLuca Barbieri
2010-08-21nvfx: tweak CMP in fpLuca Barbieri
2010-08-21nvfx: implement CMP in vpLuca Barbieri