Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 4 | -9/+9 |
| | | | | | | | 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]> | ||||
* | radeonsi/llvm: Silence a warning | Tom Stellard | 2012-04-25 | 1 | -0/+1 |
| | |||||
* | radeon/llvm: Remove unused header files | Tom Stellard | 2012-04-25 | 2 | -115/+0 |
| | |||||
* | radeon/llvm: Remove AMDILMachineFunctionInfo.cpp | Tom Stellard | 2012-04-25 | 14 | -1176/+6 |
| | |||||
* | radeon/llvm: Remove AMDILModuleInfo.cpp | Tom Stellard | 2012-04-25 | 4 | -1432/+0 |
| | |||||
* | gallivm: Use lp_build_alloca instead of LLVMBuildAlloca on the loop limiter. | José Fonseca | 2012-04-25 | 1 | -4/+1 |
| | | | | | | | To ensure that the alloca is at the top of the function body, otherwise LLVM will not eliminate them, causing stack misalignment on 32bits. Reviewed-by: James Benton <[email protected]> | ||||
* | radeon/llvm: Remove AMDILELFWriterInfo.cpp | Tom Stellard | 2012-04-25 | 5 | -137/+1 |
| | |||||
* | radeon/llvm: Remove AMDILLiteralManager.cpp | Tom Stellard | 2012-04-25 | 4 | -129/+0 |
| | |||||
* | radeon/llvm: Remove AMDILInliner.cpp | Tom Stellard | 2012-04-25 | 5 | -276/+0 |
| | |||||
* | radeon/llvm: Remove AMDILBarrierDetect.cpp | Tom Stellard | 2012-04-25 | 5 | -259/+0 |
| | |||||
* | radeon/llvm: Remove AMDILPrintfConvert.cpp | Tom Stellard | 2012-04-25 | 5 | -295/+0 |
| | |||||
* | radeon/llvm: Remove GlobalManager and KernelManager | Tom Stellard | 2012-04-25 | 11 | -3275/+23 |
| | |||||
* | radeon/llvm: Remove AsmPrinter files | Tom Stellard | 2012-04-25 | 5 | -443/+0 |
| | |||||
* | radeon/llvm: Remove IOExpansion files | Tom Stellard | 2012-04-25 | 15 | -4048/+0 |
| | |||||
* | radeon/llvm: Remove AMDILPointerManager.cpp | Tom Stellard | 2012-04-25 | 10 | -2789/+0 |
| | |||||
* | radeonsi/llvm: Fix initialization of SIMachineFunctionInfo | Tom Stellard | 2012-04-25 | 1 | -4/+4 |
| | | | | | SIMachineFunctionInfo needs to be initialized before any of the AMDIL passes. | ||||
* | mesa/st: Fix derreference after free. | José Fonseca | 2012-04-25 | 1 | -2/+6 |
| | |||||
* | gallium/docs: document the new vertex fetch CAPs | Marek Olšák | 2012-04-24 | 1 | -0/+12 |
| | |||||
* | nv50: fix typo in nv50_fragprog_assign_slots | Christoph Bumiller | 2012-04-24 | 1 | -1/+1 |
| | |||||
* | glsl: Add implementation of inverse() for mat2/3/4. | Eric Anholt | 2012-04-24 | 3 | -1/+111 |
| | | | | | | | | | | | | This is taken from the ogl-math project, with Inverse renamed to adj (since it's not actually the inverse), transposed, and our types plugged in. There are potential CSE opportunities in this code (particularly for hardware with RCP but not DIV), but we should be doing CSE anyway, so don't hand-optimize. Fixes piglit inverse tests. Acked-by: Kenneth Graunke <[email protected]> | ||||
* | glsl: Add support for generating builtin code from GLSL instead of IR. | Eric Anholt | 2012-04-24 | 1 | -4/+16 |
| | | | | | | | | This takes advantage of the builtin compiler to generate IR into a string, the same way we read GLSL for function prototypes for our profiles. Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | glsl: Make ir_reader parse the "temporary" variable qualifier. | Eric Anholt | 2012-04-24 | 1 | -0/+2 |
| | | | | | | | This lets ir_reader eat the output of builtin_compiler on actual function definitions. Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | glsl: Add doxygen explaining what main.cpp is for. | Eric Anholt | 2012-04-24 | 1 | -0/+9 |
| | | | | | | | I keep getting lost in the Makefile trying to figure out what to edit to work on builtin_compiler or glsl_compiler. Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | i965/vs: Fix texelFetchOffset() | Eric Anholt | 2012-04-24 | 1 | -3/+23 |
| | | | | | | It appears that when using 'ld' with the offset bits, address bounds checking happens before the offset is applied, so parts of the drawing in piglit texelFetchOffset() with a negative texcoord go black. | ||||
* | i965/fs: Fix texelFetchOffset() | Eric Anholt | 2012-04-24 | 1 | -6/+21 |
| | | | | | | It appears that when using 'ld' with the offset bits, address bounds checking happens before the offset is applied, so parts of the drawing in piglit texelFetchOffset() with a negative texcoord go black. | ||||
* | nv50,nvc0: handle new vertex fetch caps | Christoph Bumiller | 2012-04-24 | 3 | -0/+13 |
| | |||||
* | nv50,nvc0: don't initialize the draw module, we don't use it | Christoph Bumiller | 2012-04-24 | 6 | -4/+26 |
| | | | | But some day we might (e.g. for blending 16 bpp formats on nv50). | ||||
* | nv50: enable shader watchdog timer | Christoph Bumiller | 2012-04-24 | 1 | -0/+5 |
| | |||||
* | darwin: Eliminate a pthread mutex leak | Jeremy Huddleston | 2012-04-24 | 1 | -0/+7 |
| | | | | | Signed-off-by: Jeremy Huddleston <[email protected]> Tested-by: Charles Davis <[email protected]> | ||||
* | 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. |