Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | radeonsi: stop using u_vbuf and adapt to gallium interface changes | Marek Olšák | 2012-04-24 | 11 | -98/+100 |
| | |||||
* | u_vbuf: don't call u_vbuf_upload_buffers if there's nothing to upload | Marek Olšák | 2012-04-24 | 1 | -2/+8 |
| | |||||
* | u_vbuf: don't upload user buffers if the driver supports them | Marek Olšák | 2012-04-24 | 1 | -1/+1 |
| | |||||
* | u_vbuf: optimize u_vbuf_translate_find_free_vb_slots | Marek Olšák | 2012-04-24 | 1 | -27/+15 |
| | |||||
* | u_vbuf: turn bool arrays into bitmasks and loops into bitwise operations | Marek Olšák | 2012-04-24 | 1 | -110/+88 |
| | | | | | | Optimized functions: - u_vbuf_need_minmax_index - u_vbuf_mapping_vertex_buffer_blocks | ||||
* | u_vbuf: take advantage of all new vertex fetch caps | Marek Olšák | 2012-04-24 | 3 | -10/+19 |
| | |||||
* | u_vbuf: simplify u_vbuf_set_vertex_buffers | Marek Olšák | 2012-04-24 | 1 | -23/+16 |
| | |||||
* | u_vbuf: rename native_attribs -> driver_attribs | Marek Olšák | 2012-04-24 | 1 | -5/+5 |
| | |||||
* | r600g: move updating vertex buffer state into set_vertex_buffers | Marek Olšák | 2012-04-24 | 2 | -11/+7 |
| | |||||
* | st/mesa: always expose ARB_ES2_compatibility | Marek Olšák | 2012-04-24 | 1 | -3/+1 |
| | | | | u_vbuf translates GL_FIXED too if needed. | ||||
* | st/mesa: always expose ARB_half_float_vertex | Marek Olšák | 2012-04-24 | 1 | -3/+1 |
| | | | | u_vbuf kicks in and translates it to float if it's unsupported. | ||||
* | gallium: make user vertex buffers optional | Marek Olšák | 2012-04-24 | 16 | -243/+277 |
| | | | | | | | | | | | This couldn't be split because it would break bisecting. Summary: * r300g,r600g: stop using u_vbuf * r300g,r600g: also report that the FIXED vertex type is unsupported * u_vbuf: refactor for use in the state tracker * cso: wire up u_vbuf with cso_context * st/mesa: conditionally install u_vbuf | ||||
* | i915g: report that all vertex formats are supported | Marek Olšák | 2012-04-24 | 1 | -1/+3 |
| | | | | So that u_vbuf isn't enabled. | ||||
* | r600g: don't share u_upload_mgr with u_vbuf, create its own | Marek Olšák | 2012-04-24 | 4 | -4/+15 |
| | |||||
* | r300g: don't share u_upload_mgr with u_vbuf, create its own | Marek Olšák | 2012-04-24 | 4 | -4/+10 |
| | |||||
* | u_vbuf: pull u_vbuf_draw_max_vertex_count into r300g | Marek Olšák | 2012-04-24 | 3 | -52/+50 |
| | |||||
* | u_vbuf: make use of the new CAPs to determine what to do | Marek Olšák | 2012-04-24 | 5 | -40/+58 |
| | | | | | | | This adds the ability to initialize u_vbuf_caps before creating u_vbuf itself. It will be useful for determining if u_vbuf should be used or not. Also adapt r300g and r600g. | ||||
* | gallium drivers: report that user vertex buffers are supported | Marek Olšák | 2012-04-24 | 7 | -0/+12 |
| | |||||
* | gallium: add CAPs for vertex fetcher | Marek Olšák | 2012-04-24 | 1 | -1/+5 |
| | | | | | Supported vertex formats will be queried using is_format_supported(.., PIPE_BIND_VERTEX_BUFFER, ..). | ||||
* | u_vbuf: remove u_vbuf_resource | Marek Olšák | 2012-04-24 | 20 | -181/+165 |
| | |||||
* | u_vbuf: use user_ptr from pipe_resource | Marek Olšák | 2012-04-24 | 2 | -11/+12 |
| | |||||
* | gallium: add user_ptr in pipe_resource | Marek Olšák | 2012-04-24 | 10 | -0/+14 |
| | | | | I need to access the pointer in st/mesa when I only have pipe_resource. | ||||
* | u_vbuf: override draw_vbo | Marek Olšák | 2012-04-24 | 4 | -32/+33 |
| | |||||
* | u_vbuf: override create/bind/destroy_vertex_elements_state | Marek Olšák | 2012-04-24 | 8 | -82/+54 |
| | |||||
* | u_vbuf: override set_vertex_buffers | Marek Olšák | 2012-04-24 | 12 | -88/+86 |
| | |||||
* | u_vbuf: override set_index_buffer | Marek Olšák | 2012-04-24 | 7 | -37/+61 |
| | | | | This makes u_vbuf_mgr call the driver instead of the other way around. | ||||
* | st/mesa: use cso_set_index_buffer and cso_draw_vbo | Marek Olšák | 2012-04-24 | 1 | -7/+9 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium/util: use cso_draw_arrays in util_draw_vertex_buffer | Marek Olšák | 2012-04-24 | 1 | -5/+4 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | cso: add set_index_buffer and draw_vbo passthrough functions | Marek Olšák | 2012-04-24 | 2 | -0/+48 |
| | | | | | | v2: use util_draw_init_info Reviewed-by: Brian Paul <[email protected]> | ||||
* | darwin: Don't build gallium | Jeremy Huddleston | 2012-04-23 | 1 | -2/+2 |
| | | | | | | | fe3f98ed70be01a49dd2e93870907d092fe4a283 intentionally broke it, so don't build it. Signed-off-by: Jeremy Huddleston <[email protected]> | ||||
* | apple: Fix a use after free | Jonas Maebe | 2012-04-23 | 1 | -2/+4 |
| | | | | Reviewed-by: Jeremy Huddleston <[email protected]> | ||||
* | vbo: call UpdateState directly when notifying a driver about _NEW_ARRAY | Marek Olšák | 2012-04-23 | 4 | -14/+5 |
| | | | | | | | | Core Mesa doesn't need to know about this. This also removes the hack in recalculate_input_bindings. Reviewed-by: Brian Paul <[email protected]> | ||||
* | vbo: do FLUSH_CURRENT before validating and updating state | Marek Olšák | 2012-04-23 | 1 | -10/+16 |
| | | | | | | | | | | This fixes an assertion failure since: commit 81afdd20f3f574ce29559d8ad77df5c77652009e vbo: don't check twice whether it's valid to render FLUSH_CURRENT may set _NEW_CURRENT_ATTRIB. Reviewed-by: Brian Paul <[email protected]> | ||||
* | r300g/automake: add $ARCH_FLAGS and $OPT_FLAGS | Marek Olšák | 2012-04-23 | 1 | -0/+2 |
| | | | | Reviewed-by: Tom Stellard <[email protected]> | ||||
* | r600g/automake: add $ARCH_FLAGS and $OPT_FLAGS | Marek Olšák | 2012-04-23 | 1 | -0/+2 |
| | | | | Reviewed-by: Tom Stellard <[email protected]> | ||||
* | r600g: init vars to silence warnings | Brian Paul | 2012-04-23 | 1 | -2/+2 |
| | |||||
* | bin/mklib: remove '-m32' for arm linux | Han Shen(沈涵) | 2012-04-23 | 1 | -2/+6 |
| | | | | | | | | -m32 is not a valid option for ARM. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Brian Paul <[email protected]> | ||||
* | st/mesa: no-op glCopyPixels if source region is out of bounds | Brian Paul | 2012-04-23 | 1 | -1/+9 |
| | | | | | | | | | If the source region for a glCopyPixels is completely outside the source buffer bounds, no-op the copy. Fixes a failed assertion. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Jose Fonseca <[email protected]> | ||||
* | radeon/llvm: Don't print an error message when there is no error | Tom Stellard | 2012-04-23 | 1 | -2/+1 |
| | | | | | A blank line with an empty error message was being printed even when the target lookup succeeded. | ||||
* | radeon/llvm: Lower VCREATE_v4f32 for R600 and SI | Tom Stellard | 2012-04-23 | 5 | -33/+22 |
| | |||||
* | r600g/llvm: Let ISel handle lowering to {INSERT,EXTRACT}_SUBREG | Tom Stellard | 2012-04-23 | 6 | -88/+37 |
| | |||||
* | r600g/llvm: Only emit an instruction's explicit operands | Tom Stellard | 2012-04-23 | 1 | -2/+2 |
| | |||||
* | r600g/llvm: Handle copies between vector registers | Tom Stellard | 2012-04-23 | 2 | -2/+21 |
| | |||||
* | r600g/llvm: Remove debugging hack from R600InstrInfo::copyPhysReg() | Tom Stellard | 2012-04-23 | 1 | -4/+0 |
| | |||||
* | r600g/llvm: Tell the code emitter to ignore KILL and BUNDLE | Tom Stellard | 2012-04-23 | 1 | -1/+3 |
| | |||||
* | r600/llvm: Add LOAD_VTX instruction | Tom Stellard | 2012-04-23 | 1 | -0/+13 |
| | |||||
* | r600g: Add hooks for the LLVM shader compiler | Tom Stellard | 2012-04-23 | 4 | -2/+318 |
| | | | | | | | | | The LLVM backend can now be enabled for r600g by using the --enable-r600-llvm-compiler configure flag. If you configure with this flag, you can still use the default compiler by setting the envrionment variable R600_USE_LLVM=0 Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: Add TGSI->LLVM implementation v2 | Tom Stellard | 2012-04-23 | 2 | -0/+330 |
| | | | | | | v2: Add case for ARUBA in r600_llvm_gpu_string() Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeon: Move radeon_llvm_emit.cpp declarations into their own header | Tom Stellard | 2012-04-23 | 5 | -19/+58 |
| | | | | Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeon: Remove HAVE_LLVM ifdefs | Tom Stellard | 2012-04-23 | 1 | -10/+0 |
| | | | | | | Only LLVM 3.1 is supported, so these are not necessary. Reviewed-by: Alex Deucher <[email protected]> |