Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g: use the values from the correct literals | Bas Nieuwenhuizen | 2010-08-30 | 1 | -4/+23 |
| | | | | | | Created an array for literals as we should not always use the last declared literal. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: added literals where needed for POW instruction | Bas Nieuwenhuizen | 2010-08-30 | 1 | -0/+9 |
| | | | | | | Fixes size calculation for the bytecode buffer. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | nvfx: Remove util_is_pot in favor of util_is_power_of_two. | Vinson Lee | 2010-08-28 | 2 | -5/+5 |
| | | | | This is a follow up to commit 89b2897220acfacdc431f138377fbcec9f0ea812. | ||||
* | r300g,u_blitter: use u_framebuffer | Marek Olšák | 2010-08-29 | 2 | -3/+3 |
| | | | | Removing another function duplication in u_blitter. | ||||
* | util: remove util_is_pot in favor of util_is_power_of_two | Marek Olšák | 2010-08-29 | 1 | -1/+1 |
| | | | | The function was duplicated. | ||||
* | softpipe: Include missing header in sp_flush.c. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | | | | Include p_screen.h for complete type to pipe_screen. | ||||
* | llvmpipe: Include missing header in lp_flush.c. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | | | | Include p_screen.h for complete type to pipe_screen. | ||||
* | r300g: fix blitting between 2D NPOT mipmaps | Marek Olšák | 2010-08-28 | 4 | -23/+51 |
| | | | | | | | | | 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. | ||||
* | r300g: fix min/max lod computation | Mathias Fröhlich | 2010-08-28 | 1 | -2/+2 |
| | |||||
* | r300g: set the correct value in PVS_NUM_CNTLRS | Marek Olšák | 2010-08-28 | 1 | -1/+1 |
| | | | | As per docs. | ||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-08-28 | 1 | -1/+0 |
| | |||||
* | trace: Don't try to dump the rgba array if null | Jakob Bornecrantz | 2010-08-28 | 1 | -1/+4 |
| | |||||
* | r600g: fix vbo size | Jerome Glisse | 2010-08-27 | 1 | -1/+1 |
| | | | | | | Silence the kernel, vbo size is size - 1. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | llvmpipe: use util_iround in place of round | Keith Whitwell | 2010-08-27 | 1 | -1/+1 |
| | | | | Fix mingw build. | ||||
* | llvmpipe: eliminate tri->dx, tri->dy values | Keith Whitwell | 2010-08-27 | 2 | -42/+39 |
| | | | | Use an internal struct for line setup information. | ||||
* | llvmpipe: point sprites rasterization | Hui Qi Tay | 2010-08-27 | 7 | -10/+93 |
| | | | | | Point sprites now done in the rasterizer setup code instead of going through the draw module. | ||||
* | llvmpipe: native point rasterization with better pixel rasterization | Hui Qi Tay | 2010-08-27 | 1 | -16/+18 |
| | | | | | | | | A few subpixel_snap and fixed width changes. Conflicts: src/gallium/drivers/llvmpipe/lp_setup_point.c | ||||
* | llvmpipe: native point rasterization | Hui Qi Tay | 2010-08-27 | 8 | -5/+262 |
| | | | | | | | | 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 | ||||
* | llvmpipe: update line rasterization code to current master | Keith Whitwell | 2010-08-27 | 4 | -374/+227 |
| | |||||
* | llvmpipe: native line rasterization with correct pixel rasterization | Hui Qi Tay | 2010-08-27 | 1 | -29/+213 |
| | | | | | Line rasterization that follows diamond exit rule. Can still optimize logic for start/endpoints. | ||||
* | llvmpipe: native rasterization for lines | Hui Qi Tay | 2010-08-27 | 11 | -22/+685 |
| | | | | | Rasterize lines directly by treating them as 4-sided polygons. Still need to check the exact pixel rasteration. | ||||
* | llvmpipe: add lp_setup_coef to makefile | Keith Whitwell | 2010-08-27 | 1 | -0/+2 |
| | |||||
* | llvmpipe: intrinsics version of triangle coeficient calculation | Keith Whitwell | 2010-08-27 | 5 | -300/+577 |
| | | | | | | Looks nice, but makes almost no impact on performance - maybe a percent or so in isosurf, nothing elsewhere. May be of use later on. | ||||
* | r300g: Include missing header in r300_texture.h. | Vinson Lee | 2010-08-27 | 1 | -0/+1 |
| | | | | Include p_compiler.h for uint32_t and boolean symbols. | ||||
* | Revert "r600g: simplify states" | Dave Airlie | 2010-08-27 | 8 | -398/+496 |
| | | | | | | | | | 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. | ||||
* | r600g: add initial if/else/endif support | Dave Airlie | 2010-08-27 | 4 | -12/+170 |
| | | | | | | | | | 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 | ||||
* | r600g: optimise op2 and swapped op2 emission. | Dave Airlie | 2010-08-27 | 1 | -48/+37 |
| | | | | | | 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. | ||||
* | r600g: add exp support in theory. | Dave Airlie | 2010-08-27 | 1 | -1/+105 |
| | | | | though it isn't passing the test, and this instruction is pure bonghits. | ||||
* | r600g: add DPH support. | Dave Airlie | 2010-08-27 | 1 | -1/+8 |
| | |||||
* | llvmpipe: fix PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query | Brian Paul | 2010-08-26 | 1 | -1/+8 |
| | | | | | Fixes crashes in glean glsl1 and demos/src/glsl/vert-tex. See comments for details. | ||||
* | r300g: Include missing header in r300_texture_desc.h. | Vinson Lee | 2010-08-26 | 1 | -0/+1 |
| | | | | | | Include p_format.h for enum pipe_format symbol. Fixes r300g build. | ||||
* | r300g: fix constant buffer upload once again for r3xx->r4xx | Marek Olšák | 2010-08-26 | 1 | -1/+1 |
| | |||||
* | nouveau: handle early initialization errors | Marcin Slusarz | 2010-08-26 | 1 | -1/+2 |
| | | | | | | | handle very early errors in pipe_screen creation (failure of nouveau_screen_init in nv50_screen_create) Signed-off-by: Francisco Jerez <[email protected]> | ||||
* | r600g: simplify states | Jerome Glisse | 2010-08-25 | 8 | -496/+398 |
| | | | | | | | | 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 <[email protected]> | ||||
* | nvfx: Set pointer to NULL after free. | Vinson Lee | 2010-08-25 | 1 | -1/+3 |
| | | | | Guard against potential use after free. | ||||
* | r300g: fix potentially uninitialized variables in create_rs_state | Marek Olšák | 2010-08-25 | 1 | -5/+2 |
| | | | | | | It had no impact on correctness, though. Reported by Vinson Lee. | ||||
* | llvmpipe: fix bad patch application | Keith Whitwell | 2010-08-25 | 1 | -5/+4 |
| | |||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-08-25 | 1 | -1/+0 |
| | |||||
* | llvmpipe: track drawing region as a single u_rect | Keith Whitwell | 2010-08-25 | 3 | -63/+86 |
| | |||||
* | llvmpipe: better triangle debugging | Keith Whitwell | 2010-08-25 | 2 | -19/+67 |
| | |||||
* | llvmpipe: cull zero-area triangles early | Keith Whitwell | 2010-08-25 | 1 | -2/+3 |
| | |||||
* | llvmpipe: more rasterization counters | Keith Whitwell | 2010-08-25 | 3 | -6/+29 |
| | |||||
* | llvmpipe: move some fence functions into lp_screen.c | Keith Whitwell | 2010-08-25 | 4 | -57/+79 |
| | |||||
* | llvmpipe: wake all threads waiting on a fence | Keith Whitwell | 2010-08-25 | 1 | -1/+3 |
| | |||||
* | llvmpipe: fence debugging, add llvmpipe_finish | Keith Whitwell | 2010-08-25 | 13 | -65/+74 |
| | |||||
* | draw: specialized cliptesting routines | Keith Whitwell | 2010-08-25 | 2 | -3/+2 |
| | |||||
* | llvmpipe: remove dead code | Keith Whitwell | 2010-08-25 | 1 | -37/+0 |
| | |||||
* | gallium: Use draw_set_index_buffer and others. | Chia-I Wu | 2010-08-25 | 13 | -93/+50 |
| | | | | | | 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. | ||||
* | svga: Remove redundant svga_draw_range_elements. | Chia-I Wu | 2010-08-25 | 3 | -87/+45 |
| | | | | | | | 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. | ||||
* | nvfx: Clean up header file inclusion in nvfx_screen.h. | Vinson Lee | 2010-08-25 | 1 | -2/+2 |
| | | | | | | | Remove nvfx_context.h. Include p_compiler.h for INLINE symbol. Fixes nvfx_context.h -> nvfx_screen.h -> nvfx_context.h include recursion. |