Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | nvfx: Include missing headers in nvfx_shader.h. | Vinson Lee | 2010-08-25 | 1 | -0/+4 |
| | | | | | Include stdint.h for uint8_t symbol. Include p_compiler.h for INLINE symbol. | ||||
* | r300g: fix gl_PointCoord | Marek Olšák | 2010-08-25 | 1 | -2/+7 |
| | | | | | Is this hackish or is this the correct way to use point_quad_rasterization? Copied from nvfx. | ||||
* | r300g: eliminate unused constants in FS | Marek Olšák | 2010-08-25 | 3 | -7/+32 |
| | |||||
* | r300g: eliminate unused constants in VS | Marek Olšák | 2010-08-25 | 5 | -8/+31 |
| | |||||
* | r300g: clean up some mess in set_constant_buffer | Marek Olšák | 2010-08-25 | 2 | -22/+1 |
| | |||||
* | r300g: fix indentation | Marek Olšák | 2010-08-25 | 2 | -8/+8 |
| | |||||
* | r300g: reset the index bias to 0 at the end of CS | Marek Olšák | 2010-08-25 | 4 | -5/+12 |
| | |||||
* | nvfx: Initialize variables on error path. | Vinson Lee | 2010-08-24 | 1 | -0/+4 |
| | |||||
* | r600g: Add support for PIPE_FORMAT_R32_FLOAT. | Henri Verbeet | 2010-08-24 | 1 | -0/+3 |
| | |||||
* | nvfx: Remove unnecessary headers. | Vinson Lee | 2010-08-23 | 3 | -4/+0 |
| | |||||
* | r300g: Remove unused variable. | Vinson Lee | 2010-08-23 | 1 | -2/+0 |
| | | | | | | Fixes this GCC warning. r300_render.c: In function 'r300_draw_flush_vbuf': r300_render.c:988: warning: unused variable 'r300_render' | ||||
* | r600g: add XPD support | Dave Airlie | 2010-08-24 | 1 | -1/+124 |
| | | | | ported from r600c. | ||||
* | r600g: add CMP support. | Dave Airlie | 2010-08-24 | 1 | -1/+50 |
| | | | | ported from r600c, fixes fp-cmp, glsl1-sqrt* | ||||
* | nvfx: don't emit dummy commands on nv30 | Luca Barbieri | 2010-08-24 | 1 | -4/+8 |
| | | | | Should fix errors on the original nv30, reported by pmdata. | ||||
* | r600g: Add support for PIPE_CAP_DEPTH_CLAMP. | Henri Verbeet | 2010-08-23 | 2 | -3/+4 |
| | |||||
* | r600g: export one component per pixel + r7xx uncompression shader | Jerome Glisse | 2010-08-23 | 5 | -5/+89 |
| | | | | | | | 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 <[email protected]> | ||||
* | nvfx: improve fp temp accounting | Luca Barbieri | 2010-08-23 | 1 | -2/+4 |
| | |||||
* | nvfx: emit bo relocations only when needed | Luca Barbieri | 2010-08-23 | 8 | -20/+65 |
| | | | | Should improve performance, possibly significantly. | ||||
* | nvfx: match Gallium's gl_PointCoord brokenness | Luca Barbieri | 2010-08-23 | 1 | -2/+5 |
| | | | | | | | 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. | ||||
* | nvfx: support clip planes sensibly and fix them on nv30 | Luca Barbieri | 2010-08-23 | 7 | -116/+163 |
| | | | | | | | | | | 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. | ||||
* | r300g: avoid stall in no-tcl drawing when mapping vbo | Dave Airlie | 2010-08-23 | 3 | -15/+26 |
| | | | | | | | | | 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 <[email protected]> | ||||
* | nvfx: fix minor memory leak | Luca Barbieri | 2010-08-23 | 1 | -1/+1 |
| | |||||
* | nvfx: support both sprite coord origins | Luca Barbieri | 2010-08-23 | 3 | -43/+108 |
| | | | | | | | 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. | ||||
* | nvfx: use 64-bit bitmasks for temps | Luca Barbieri | 2010-08-23 | 1 | -8/+8 |
| | |||||
* | r600g: fix DB decompression | Jerome Glisse | 2010-08-22 | 6 | -75/+97 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> |