Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-06 | draw: Include draw_decompose_tmp.h in draw_gs_tmp.h. | Chia-I Wu | |
Use draw_decompose_tmp.h to replace GS primitive decomposer. | |||
2010-08-06 | draw: Include draw_decompose_tmp.h in draw_pt_vcache_tmp.h. | Chia-I Wu | |
Use draw_decompose_tmp.h to replace vcache primitive decomposer. As the new decomposer supports primitives with adjacency, vcache_triangle_adj and vcache_line_adj (and their variants that have flags) are added. | |||
2010-08-06 | draw: Add draw_decompose_tmp.h. | Chia-I Wu | |
Including draw_decompose_tmp.h defines a primitive decomposer. It is intended to replace the existing vcache/so/gs/pipe decomposers. This is based on draw_pt_vcache_tmp.h. | |||
2010-08-04 | draw: Fix return type of draw_translate_vinfo_size. | Vinson Lee | |
Fixes typo from commit b609cfc7c9c38f26e7e6d6f7dd5dd6d38f4ed209. | |||
2010-08-04 | draw: Fix the edge flags of flatshade_first polygons. | Chia-I Wu | |
This bug can be triggered by rendering polygons with glProvokingVertexEXT(GL_FIRST_VERTEX_CONVENTION_EXT); glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); | |||
2010-08-03 | draw: check for instance divisors in vcache_check_run() | Brian Paul | |
When we have instance divisors we don't really know which vertex elements we'll be fetching ahead of time. This fixes a bug in instanced drawing which was exposed by the new draw_vbo() code because of max_index not being ~0 as often as it used to be. The test for max_index >= DRAW_PIPE_MAX_VERTICES often hid this problem before. | |||
2010-08-03 | draw: added a comment | Brian Paul | |
2010-08-03 | draw: use instance divisor in draw_print_arrays() | Brian Paul | |
2010-08-03 | draw: add assertion, rearrange debug code | Brian Paul | |
2010-08-02 | draw: fix warning in sse code. | Dave Airlie | |
Not sure if this will actually fix the issue, but it fixes the warning. | |||
2010-07-30 | draw: actually a noop, rather than not implemented | Zack Rusin | |
we just have nothing to do in it right now | |||
2010-07-30 | llvmpipe: Fix implicit declaration of lp_func_delete_body warnings. | Vinson Lee | |
2010-07-30 | llvmpipe: delete function bodies after generating machine code | Zack Rusin | |
2010-07-29 | draw: do bounds checking of array elements (debug only) | Brian Paul | |
Make sure that all the element indexes actually lie inside the vertex buffer. Also, rename pipe_run() to pipe_run_elts() to be more specific. And assert/check the vertex count for the non-indexed case. | |||
2010-07-29 | draw: assorted clean-ups in clipper code | Brian Paul | |
2010-07-29 | gallium: implement bounds checking for constant buffers | Brian Paul | |
Plumb the constant buffer sizes down into the tgsi interpreter where we can do bounds checking. Optional debug code warns upon out-of-bounds reading. Plus add a few other assertions in the TGSI interpreter. | |||
2010-07-29 | draw: add vertex buffer offset in draw_print_arrays() | Brian Paul | |
2010-07-29 | draw: Also emit EMMS on generated LLVM IR. | José Fonseca | |
2010-07-28 | draw: Fix VMware spelling. | Vinson Lee | |
2010-07-23 | draw: add small ybias factor for drawing wide points | Brian Paul | |
Fixes minor rasterization error detected by some tests. | |||
2010-07-22 | draw: re-order optimization passes depending on LLVM version, 32/64-bit | Brian Paul | |
This is a work-around for an apparent bug in LLVM seen with piglit's glsl-vs-sqrt-zero test. | |||
2010-07-22 | draw: added new assertions to clipping code | Brian Paul | |
2010-07-21 | draw: disable depth clipping if depth clamp is enabled | Marek Olšák | |
2010-07-21 | draw: tweak aa line width threshold and sampling | Brian Paul | |
Set sampler max_lod to avoid sampling the 1x1 and 2x2 mipmap levels. Fixes piglit line-aa-width test, fd.o bug 29160. | |||
2010-07-21 | draw: whitespace clean-up | Brian Paul | |
2010-07-20 | draw: correctly handle max_index=0xffffffff case in vcache code | Brian Paul | |
If max_index=0xffffffff and elt_bias > 0 the test for elt_bias + max_index >= DRAW_PIPE_MAX_VERTICES was wrong. Check earlier if max_index=0xffffffff and do the "fail" case. This fixes the piglit draw-elements-base-vertex test (and probably some other things). | |||
2010-07-19 | draw: fix incorrect instancing divisor in LLVM code | Brian Paul | |
2010-07-16 | draw: updated debug/dump code | Brian Paul | |
2010-07-16 | draw: added array element debug / bounds checking code (disabled) | Brian Paul | |
2010-07-16 | draw/llvm: adjust the instance id at run time | Zack Rusin | |
fixes instancing in draw llvm | |||
2010-07-16 | draw: use the instance id when fetching vertex data | Zack Rusin | |
2010-07-15 | draw: update comments for drawing functions | Brian Paul | |
2010-07-15 | draw: move prototype, update comment | Brian Paul | |
2010-07-10 | draw: fix decomposition to work with adjacency primitives | Zack Rusin | |
2010-07-10 | mesa: get the translation from mesa 2d regs to tgsi working | Zack Rusin | |
first working version of arb_geometry_shader4 | |||
2010-07-08 | draw: Fix off-by-one error in assert. | Vinson Lee | |
textures is an array of size PIPE_MAX_VERTEX_SAMPLERS. | |||
2010-07-06 | draw: Remove unnecessary header. | Vinson Lee | |
2010-07-06 | draw: make sure softpipe doesn't crash with vertex tex sampling | Zack Rusin | |
softpipe doesn't implement the draw's llvm tex sampling interface so make sure draw can handle the cases where the driver doesn't implement the interface | |||
2010-07-06 | draw: implement vertex texture sampling using llvm | Zack Rusin | |
2010-07-02 | gallivm: Support multiple pixels in lp_build_fetch_rgba_aos(). | José Fonseca | |
This allows to do the unpacking of formats that fit in 4 x unorm8 in parallel, 4 pixels at a time. | |||
2010-07-01 | gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos(). | José Fonseca | |
Uses code and ideas from Brian Paul. | |||
2010-06-30 | draw: fix out of memory handling in polygon stipple stage | Brian Paul | |
2010-06-29 | draw: Add inline keyword to inline function. | José Fonseca | |
Otherwise gcc will warn about unusued functions. | |||
2010-06-26 | draw: Remove unnecessary header. | Vinson Lee | |
2010-06-25 | draw: deleted by mistake | Zack Rusin | |
2010-06-25 | draw: initialize headers in the none post paths as well | Zack Rusin | |
2010-06-25 | draw: limit the number of vertex shader variants kept around | Zack Rusin | |
we used to create and cache unltimited number of variant, this change limits the number of variants kept around to a fixed number. the change is based on a similar patch by Roland for llvmpipe fragment shaders. | |||
2010-06-25 | draw: initialize vertex header | Zack Rusin | |
2010-06-25 | draw: Work around an invalid write. | Chia-I Wu | |
SSE vertex shader does not seem to honor the execution mask. Pad the output array as a workaround. | |||
2010-06-23 | draw: use gallium's TRUE/FALSE | Brian Paul | |