Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | svga: check for and skip null vertex buffer pointers | Brian Paul | 2012-05-01 | 1 | -8/+12 |
| | | | | | | Fixes regressions with google earth and other things. Reviewed-by: José Fonseca <[email protected]> | ||||
* | softpipe: cast away const to silence warning | Brian Paul | 2012-05-01 | 1 | -1/+2 |
| | |||||
* | svga: cast away const to silence warning | Brian Paul | 2012-05-01 | 1 | -1/+2 |
| | |||||
* | u_vbuf: set user buffer pointer for drivers which support user buffers | Marek Olšák | 2012-05-01 | 1 | -0/+2 |
| | | | | | It's not common to end up in u_vbuf and at the same time support user buffers in a driver, but such a combination should work. | ||||
* | st/mesa: unmap upload buffer after uploading indices and constants | Marek Olšák | 2012-04-30 | 2 | -0/+2 |
| | |||||
* | st/xorg: don't use user_buffer_create | Marek Olšák | 2012-04-30 | 1 | -51/+16 |
| | |||||
* | st/xa: don't use user_buffer_create | Marek Olšák | 2012-04-30 | 1 | -44/+15 |
| | |||||
* | st/vega: don't use user_buffer_create | Marek Olšák | 2012-04-30 | 4 | -36/+34 |
| | |||||
* | st/vega: use cso_draw_arrays | Marek Olšák | 2012-04-30 | 1 | -3/+3 |
| | |||||
* | cso: cso_context should install u_vbuf by itself and not st/mesa | Marek Olšák | 2012-04-30 | 4 | -36/+23 |
| | | | | so that it's installed in the other state trackers too | ||||
* | st/xorg: fix compilation - wrong libkms include file | Marek Olšák | 2012-04-30 | 2 | -2/+2 |
| | |||||
* | gallium/util: stop using user buffers in util_draw_texquad | Marek Olšák | 2012-04-30 | 1 | -2/+3 |
| | |||||
* | gallium: remove pipe_resource::user_ptr | Marek Olšák | 2012-04-30 | 10 | -23/+0 |
| | | | | It's unused now. | ||||
* | radeonsi: don't create temporary user buffer for r600_upload_const_buffer | Marek Olšák | 2012-04-30 | 3 | -32/+25 |
| | |||||
* | gallium: add void *user_buffer to pipe_constant_buffer | Marek Olšák | 2012-04-30 | 18 | -24/+111 |
| | | | | This reduces CPU overhead when updating constants. | ||||
* | st/mesa: reorder code in draw_vbo | Marek Olšák | 2012-04-30 | 1 | -12/+12 |
| | |||||
* | st/mesa: remove more unnecessary code in draw_vbo | Marek Olšák | 2012-04-30 | 1 | -16/+1 |
| | | | | The variables set here are not used anywhere. | ||||
* | gallium: add void *user_buffer in pipe_index_buffer | Marek Olšák | 2012-04-30 | 23 | -118/+151 |
| | | | | | | | Adapted drivers: i915, llvmpipe, r300, r600, radeonsi, softpipe. User index buffers have been disabled in nv30, nv50, nvc0 and svga to keep things working. | ||||
* | gallium: remove pipe_context::redefine_user_buffer | Marek Olšák | 2012-04-30 | 21 | -131/+0 |
| | |||||
* | gallium: add void *user_buffer in pipe_vertex_buffer | Marek Olšák | 2012-04-30 | 17 | -182/+73 |
| | | | | | | | | | | | | This reduces CPU overhead in st_draw_vbo and removes a lot of unnecessary code in that function which was required only to comply with the gallium interface, but wasn't any useful really. Adapted drivers: i915, llvmpipe, r300, softpipe. No changes required in: r600, radeonsi. User vertex buffers have been disabled in nv30, nv50, nvc0 and svga to keep things working. | ||||
* | st/mesa: make user constant buffers optional | Marek Olšák | 2012-04-30 | 3 | -7/+25 |
| | |||||
* | gallium: change set_constant_buffer to be UBO-friendly | Marek Olšák | 2012-04-30 | 32 | -97/+139 |
| | |||||
* | gallium: add PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT | Marek Olšák | 2012-04-30 | 12 | -1/+28 |
| | | | | | | | | This is required for any serious constant buffer support. Constant buffer offsets on ATI and NVIDIA DX10 and DX11 GPUs must be a multiple of 256. In OpenGL, this can be queried via GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT. | ||||
* | st/mesa: make user index buffers optional | Marek Olšák | 2012-04-30 | 3 | -1/+16 |
| | | | | v2: use a separate upload buffer for indices | ||||
* | st/mesa: only set index buffer when drawing is indexed | Marek Olšák | 2012-04-30 | 1 | -25/+21 |
| | | | | and restructure the code a bit | ||||
* | gallium: add PIPE_CAP_USER_INDEX_BUFFERS and PIPE_CAP_USER_CONSTANT_BUFFERS | Marek Olšák | 2012-04-30 | 12 | -0/+28 |
| | |||||
* | scons: Parse = operator in source lists too. | José Fonseca | 2012-04-29 | 1 | -5/+6 |
| | | | | Should fix the scons build. | ||||
* | nv50,nvc0: fix depth/stencil resolve | Christoph Bumiller | 2012-04-29 | 5 | -56/+206 |
| | | | | | Cannot sample depth/stencil with a single view, and needed to use different shader code for nve4. | ||||
* | nvc0/ir/opt: INTERP does not support JOIN | Christoph Bumiller | 2012-04-29 | 1 | -0/+2 |
| | |||||
* | nv50/ir/opt: try to convert ABS(SUB) to SAD | Christoph Bumiller | 2012-04-29 | 7 | -16/+179 |
| | |||||
* | nvc0/ir: try to use the optimal texture op mode | Christoph Bumiller | 2012-04-29 | 1 | -3/+15 |
| | | | | | Don't really know what they are yet but for groups of textures, the last one should use mode "p" and the others "t". | ||||
* | nvc0/ir: initial implementation of nve4 scheduling hints | Christoph Bumiller | 2012-04-29 | 8 | -15/+738 |
| | |||||
* | nvc0/ir: implement better placement of texture barriers | Christoph Bumiller | 2012-04-29 | 8 | -13/+327 |
| | | | | | Put them before first uses instead of right after the texturing instruction and cull unnecessary barriers. | ||||
* | nv50/ir/tgsi: fix handling of early RET | Christoph Bumiller | 2012-04-29 | 1 | -4/+5 |
| | | | | We have to actually emit RET, too, of course, not just the PRERET. | ||||
* | nvc0/ir/emit: fix emitTXQ 2nd src | Christoph Bumiller | 2012-04-29 | 1 | -1/+3 |
| | |||||
* | nvc0/ir/target: integer ADD doesn't support ABS modifier | Christoph Bumiller | 2012-04-29 | 1 | -0/+2 |
| | |||||
* | u_vbuf: unbind vertex buffers on destroy | Marek Olšák | 2012-04-29 | 1 | -0/+2 |
| | |||||
* | u_blitter: fix resource leak | Marek Olšák | 2012-04-29 | 1 | -0/+1 |
| | |||||
* | radeonsi: make r600_buffer_transfer_unmap a no-op | Marek Olšák | 2012-04-29 | 1 | -7/+1 |
| | | | | It's a no-op already in the winsys. | ||||
* | r600g: make r600_buffer_transfer_unmap a no-op | Marek Olšák | 2012-04-29 | 1 | -7/+1 |
| | | | | It's a no-op already in the winsys. | ||||
* | r300g: make r300_buffer_transfer_unmap a no-op | Marek Olšák | 2012-04-29 | 1 | -7/+1 |
| | | | | It's a no-op already in the winsys. | ||||
* | r300g: use u_default_transfer_inline_write | Marek Olšák | 2012-04-29 | 3 | -31/+3 |
| | |||||
* | radeonsi: use u_default_transfer_inline_write | Marek Olšák | 2012-04-29 | 3 | -26/+3 |
| | |||||
* | winsys/radeon: simplify buffer map/unmap functions | Marek Olšák | 2012-04-29 | 21 | -118/+94 |
| | | | | | The idea is not to use pb_map and pb_unmap wrappers, calling straight into the winsys. | ||||
* | mesa: require GL_MAX_SAMPLES >= 4 for GL 3.0 | Dylan Noblesmith | 2012-04-29 | 1 | -0/+1 |
| | | | | | | | | | As noted in commit be4e46b21a60cfdc826bf89d1078df54966115b1, this was missing before. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | autoconf: pass -Wall to automake | Dylan Noblesmith | 2012-04-29 | 5 | -10/+10 |
| | | | | | | | And fix these warning that appear at autoreconf time: "`:='-style assignments are not portable" v2: Fix the recently-converted-to-automake r600. | ||||
* | glsl: Remove unused member predicate from ir_dead_functions_visitor. | Vinson Lee | 2012-04-28 | 1 | -2/+0 |
| | | | | | | | Fix uninitialized pointer field defect reported by Coverity. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Ian Romanick <[email protected]> | ||||
* | i965/fs: Fix FB writes that tried to use the non-existent m16 register. | Kenneth Graunke | 2012-04-27 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | A little analysis shows that the worst-case value for "nr" is 17: - base_mrf = 2 ... 2 - header present (say gen == 5) ... 4 - aa_dest_stencil_reg (stencil test) ... 5 - SIMD16 mode: += 4 * reg_width ... 13 - source_depth_to_render_target ... 15 - dest_depth_reg ... 17 This resulted in us setting base_mrf to 2 and mlen to 15. In other words, we'd try to use m2..m16. But m16 doesn't exist pre-Gen6. Also, the instruction scheduler data structures use arrays of size 16, so this would cause us to access them out of bounds. While the debugger system routine may need m0 and m1, we don't use it today, so the simplest solution is just to move base_mrf back to 1. That way, our worst case message fits in m1..m15, which is legal. An alternative would be to fail on SIMD16 in this case, but that seems a bit unfortunate if there's no real need to reserve m0 and m1. Fixes new piglit test shaders/depth-test-and-write on Ironlake. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48218 Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | glsl: Remove unused member mem_ctx from ir_dead_functions_visitor. | Vinson Lee | 2012-04-26 | 1 | -1/+0 |
| | | | | | | | Fix uninitialized pointer field defect reported by Coverity. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | nv30: properly init window information | Ben Skeggs | 2012-04-27 | 2 | -3/+4 |
| | | | | | | Should fix >2k rendering issues reported on nv4x. Signed-off-by: Ben Skeggs <[email protected]> |