summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-08-27r600g: optimise op2 and swapped op2 emission.Dave Airlie
this makes op2 emission smaller, since it skips instructions that don't write to the dst. not sure if this could have unwanted side effects but try it and see.
2010-08-27r600g: add exp support in theory.Dave Airlie
though it isn't passing the test, and this instruction is pure bonghits.
2010-08-27r600g: add DPH support.Dave Airlie
2010-08-26llvmpipe: fix PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS queryBrian Paul
Fixes crashes in glean glsl1 and demos/src/glsl/vert-tex. See comments for details.
2010-08-26r300g: Include missing header in r300_texture_desc.h.Vinson Lee
Include p_format.h for enum pipe_format symbol. Fixes r300g build.
2010-08-26r300g: fix constant buffer upload once again for r3xx->r4xxMarek Olšák
2010-08-26nouveau: handle early initialization errorsMarcin Slusarz
handle very early errors in pipe_screen creation (failure of nouveau_screen_init in nv50_screen_create) Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-08-25r600g: simplify statesJerome Glisse
Directly build PM4 packet, avoid using malloc (no states are bigger than 128 dwords), remove unecessary informations, remove pm4 building in favor of prebuild pm4 packet. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-25nvfx: Set pointer to NULL after free.Vinson Lee
Guard against potential use after free.
2010-08-25r300g: fix potentially uninitialized variables in create_rs_stateMarek Olšák
It had no impact on correctness, though. Reported by Vinson Lee.
2010-08-25llvmpipe: fix bad patch applicationKeith Whitwell
2010-08-25llvmpipe: Remove unnecessary header.Vinson Lee
2010-08-25llvmpipe: track drawing region as a single u_rectKeith Whitwell
2010-08-25llvmpipe: better triangle debuggingKeith Whitwell
2010-08-25llvmpipe: cull zero-area triangles earlyKeith Whitwell
2010-08-25llvmpipe: more rasterization countersKeith Whitwell
2010-08-25llvmpipe: move some fence functions into lp_screen.cKeith Whitwell
2010-08-25llvmpipe: wake all threads waiting on a fenceKeith Whitwell
2010-08-25llvmpipe: fence debugging, add llvmpipe_finishKeith Whitwell
2010-08-25draw: specialized cliptesting routinesKeith Whitwell
2010-08-25llvmpipe: remove dead codeKeith Whitwell
2010-08-25gallium: Use draw_set_index_buffer and others.Chia-I Wu
Update all drivers to use draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. Remove draw_set_mapped_element_buffer and draw_set_mapped_element_buffer_range.
2010-08-25svga: Remove redundant svga_draw_range_elements.Chia-I Wu
That is, implement draw_vbo directly. As a result, svga_swtnl_draw_range_elements is also replaced by svga_swtnl_draw_vbo. This commit should not have any functional change.
2010-08-25nvfx: Clean up header file inclusion in nvfx_screen.h.Vinson Lee
Remove nvfx_context.h. Include p_compiler.h for INLINE symbol. Fixes nvfx_context.h -> nvfx_screen.h -> nvfx_context.h include recursion.
2010-08-25nvfx: Include missing headers in nvfx_shader.h.Vinson Lee
Include stdint.h for uint8_t symbol. Include p_compiler.h for INLINE symbol.
2010-08-25r300g: fix gl_PointCoordMarek Olšák
Is this hackish or is this the correct way to use point_quad_rasterization? Copied from nvfx.
2010-08-25r300g: eliminate unused constants in FSMarek Olšák
2010-08-25r300g: eliminate unused constants in VSMarek Olšák
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'