summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-08-30r600g: fix SSG and op3 neg writingDave Airlie
8 more piglits, mainly the two SSG tests.
2010-08-30r600g : add basic loop support.Dave Airlie
Adds BGNLOOP, BRK, CONT, ENDLOOP support, ported from r600c. 17 piglits more on r300g.tests.
2010-08-30r600g: use the values from the correct literalsBas Nieuwenhuizen
Created an array for literals as we should not always use the last declared literal. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-08-30r600g: added literals where needed for POW instructionBas Nieuwenhuizen
Fixes size calculation for the bytecode buffer. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-08-28nvfx: Remove util_is_pot in favor of util_is_power_of_two.Vinson Lee
This is a follow up to commit 89b2897220acfacdc431f138377fbcec9f0ea812.
2010-08-29r300g,u_blitter: use u_framebufferMarek Olšák
Removing another function duplication in u_blitter.
2010-08-29util: remove util_is_pot in favor of util_is_power_of_twoMarek Olšák
The function was duplicated.
2010-08-28softpipe: Include missing header in sp_flush.c.Vinson Lee
Include p_screen.h for complete type to pipe_screen.
2010-08-28llvmpipe: Include missing header in lp_flush.c.Vinson Lee
Include p_screen.h for complete type to pipe_screen.
2010-08-28r300g: fix blitting between 2D NPOT mipmapsMarek Olšák
Even though MIP filtering is not supported, we can bind an arbitrary mipmap as the zero mipmap level. NPOT textures now follow GL_TEXTURE_BASE_LEVEL and GL_TEXTURE_MIN_LOD. This fixes piglit/fbo-copyteximage.
2010-08-28r300g: fix min/max lod computationMathias Fröhlich
2010-08-28r300g: set the correct value in PVS_NUM_CNTLRSMarek Olšák
As per docs.
2010-08-28llvmpipe: Remove unnecessary header.Vinson Lee
2010-08-28trace: Don't try to dump the rgba array if nullJakob Bornecrantz
2010-08-27r600g: fix vbo sizeJerome Glisse
Silence the kernel, vbo size is size - 1. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-27llvmpipe: use util_iround in place of roundKeith Whitwell
Fix mingw build.
2010-08-27llvmpipe: eliminate tri->dx, tri->dy valuesKeith Whitwell
Use an internal struct for line setup information.
2010-08-27llvmpipe: point sprites rasterizationHui Qi Tay
Point sprites now done in the rasterizer setup code instead of going through the draw module.
2010-08-27llvmpipe: native point rasterization with better pixel rasterizationHui Qi Tay
A few subpixel_snap and fixed width changes. Conflicts: src/gallium/drivers/llvmpipe/lp_setup_point.c
2010-08-27llvmpipe: native point rasterizationHui Qi Tay
Conflicts: src/gallium/drivers/llvmpipe/lp_setup_context.h src/gallium/drivers/llvmpipe/lp_setup_line.c src/gallium/drivers/llvmpipe/lp_setup_tri.c
2010-08-27llvmpipe: update line rasterization code to current masterKeith Whitwell
2010-08-27llvmpipe: native line rasterization with correct pixel rasterizationHui Qi Tay
Line rasterization that follows diamond exit rule. Can still optimize logic for start/endpoints.
2010-08-27llvmpipe: native rasterization for linesHui Qi Tay
Rasterize lines directly by treating them as 4-sided polygons. Still need to check the exact pixel rasteration.
2010-08-27llvmpipe: add lp_setup_coef to makefileKeith Whitwell
2010-08-27llvmpipe: intrinsics version of triangle coeficient calculationKeith Whitwell
Looks nice, but makes almost no impact on performance - maybe a percent or so in isosurf, nothing elsewhere. May be of use later on.
2010-08-27r300g: Include missing header in r300_texture.h.Vinson Lee
Include p_compiler.h for uint32_t and boolean symbols.
2010-08-27Revert "r600g: simplify states"Dave Airlie
This reverts commit bd25e23bf3740f59ce8859848c715daeb9e9821f. Apart from introducing a lot of hex magic numbers and being highly impenetable code, it causes lots of lockups on an average piglit run that always runs without lockups. Always run piglit before/after doing big things like this.
2010-08-27r600g: add initial if/else/endif supportDave Airlie
this adds handling for some more CF instructions and conditions also adds parameter for stack size emission These seem to pass on VS with the stack size hack but not on FS, TODO: fix FS + stack size calcs
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.