Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g/swtcl: don't do stuff which is only for HWTCL | Marek Olšák | 2012-05-12 | 2 | -13/+19 |
| | |||||
* | r300g: remove slab allocator for pipe_resource (used mainly for user buffers) | Marek Olšák | 2012-05-12 | 4 | -45/+3 |
| | |||||
* | r300g: remove user_buffer_create | Marek Olšák | 2012-05-12 | 3 | -32/+0 |
| | |||||
* | r300g: fix breakage after gallium-userbuf merge | Marek Olšák | 2012-05-12 | 2 | -18/+32 |
| | |||||
* | llvmpipe: add cast to silence warning | Brian Paul | 2012-05-11 | 1 | -1/+2 |
| | |||||
* | radeon/llvm: More comments and cleanups | Tom Stellard | 2012-05-11 | 22 | -163/+190 |
| | |||||
* | r600g: assume DISCARD_WHOLE_RESOURCE is always used with WRITE | Marek Olšák | 2012-05-11 | 1 | -6/+5 |
| | |||||
* | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa | Marek Olšák | 2012-05-11 | 1 | -1/+3 |
|\ | |||||
| * | radeon/llvm: Fix Evergreen/Cayman tablegen predicates | Tom Stellard | 2012-05-11 | 1 | -1/+3 |
| | | | | | | | | Some Evergreen/Cayman instructions were being enabled for SI. | ||||
* | | Merge branch 'gallium-userbuf' | Marek Olšák | 2012-05-11 | 58 | -317/+358 |
|\ \ | |/ |/| | | | | | | | | | | | Conflicts: src/gallium/docs/source/screen.rst src/gallium/drivers/nv50/nv50_state.c src/gallium/include/pipe/p_defines.h src/mesa/state_tracker/st_draw.c | ||||
| * | 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 |
| | | |||||
| * | gallium: remove pipe_resource::user_ptr | Marek Olšák | 2012-04-30 | 9 | -20/+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 | 16 | -18/+107 |
| | | | | | | | | This reduces CPU overhead when updating constants. | ||||
| * | gallium: add void *user_buffer in pipe_index_buffer | Marek Olšák | 2012-04-30 | 18 | -63/+74 |
| | | | | | | | | | | | | | | 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 | 18 | -109/+0 |
| | | |||||
| * | gallium: add void *user_buffer in pipe_vertex_buffer | Marek Olšák | 2012-04-30 | 9 | -11/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | gallium: change set_constant_buffer to be UBO-friendly | Marek Olšák | 2012-04-30 | 19 | -74/+87 |
| | | |||||
| * | gallium: add PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT | Marek Olšák | 2012-04-30 | 10 | -0/+24 |
| | | | | | | | | | | | | | | | | 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. | ||||
| * | gallium: add PIPE_CAP_USER_INDEX_BUFFERS and PIPE_CAP_USER_CONSTANT_BUFFERS | Marek Olšák | 2012-04-30 | 10 | -0/+20 |
| | | |||||
* | | gallium/tgsi: s/TGSI_BUFFER/TGSI_TEXTURE_BUFFER/ | José Fonseca | 2012-05-11 | 1 | -2/+1 |
| | | | | | | | | | | | | For consistency. Reviewed-by: Brian Paul <[email protected]> | ||||
* | | gallium/tgsi: Redefine the TGSI_TEXTURE_UNKNOWN texture target. | José Fonseca | 2012-05-11 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | Some code relies on the existing of an invalid texture target. It seems safer to bring it back than to deal with unintended consequences. This partially reverts commit a4ebb04214bab1cd9bd41967232ec89441e31744. Reviewed-by: Brian Paul <[email protected]> | ||||
* | | llvmpipe: Fix triangle bounding box calculation to be correctly inclusive or ↵ | James Benton | 2012-05-11 | 1 | -8/+6 |
| | | | | | | | | | | | | | | | | exclusive Tested with custom rasterisation test tool added to piglit suite, reduced errors Signed-off-by: José Fonseca <[email protected]> | ||||
* | | llvmpipe: Change triangle rasterization comparison from < 0 to <= 0 | James Benton | 2012-05-11 | 1 | -1/+8 |
| | | | | | | | | | | | | Tested with custom rasterisation test tool added to piglit suite, reduced errors Signed-off-by: José Fonseca <[email protected]> | ||||
* | | gallium/tgsi: Define the TGSI_BUFFER texture target. | Francisco Jerez | 2012-05-11 | 1 | -2/+2 |
| | | | | | | | | | | | | This texture type was already referred to by the documentation but it was never defined. Define it as 0 to match the pipe_texture_target enumeration values. | ||||
* | | gallium/tgsi: Move interpolation info from tgsi_declaration to a separate token. | Francisco Jerez | 2012-05-11 | 4 | -10/+11 |
| | | | | | | | | | | | | Move Interpolate, Centroid and CylindricalWrap from tgsi_declaration to a separate token -- they only make sense for FS inputs and we need room for other flags in the top-level declaration token. | ||||
* | | gallium/tgsi: Split sampler views from shader resources. | Francisco Jerez | 2012-05-11 | 2 | -25/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit splits the current concept of resource into "sampler views" and "shader resources": "Sampler views" are textures or buffers that are bound to a given shader stage and can be read from in conjunction with a sampler object. They are analogous to OpenGL texture objects or Direct3D SRVs. "Shader resources" are textures or buffers that can be read and written from a shader. There's no support for floating point coordinates, address wrap modes or filtering, and, unlike sampler views, shader resources are global for the whole graphics pipeline. They are analogous to OpenGL image objects (as in ARB_shader_image_load_store) or Direct3D UAVs. Most hardware is likely to implement shader resources and sampler views as separate objects, so, having the distinction at the API level simplifies things slightly for the driver. This patch introduces the SVIEW register file with a declaration token and syntax analogous to the already existing RES register file. After this change, the SAMPLE_* opcodes no longer accept a resource as input, but rather a SVIEW object. To preserve the functionality of reading from a sampler view with integer coordinates, the SAMPLE_I(_MS) opcodes are introduced which are similar to LOAD(_MS) but take a SVIEW register instead of a RES register as argument. | ||||
* | | radeonsi: Properly translate vertex format swizzle. | Michel Dänzer | 2012-05-11 | 3 | -23/+23 |
| | | | | | | | | egltri_screen works correctly! | ||||
* | | radeon/llvm: Remove AMDILMCCodeEmitter.cpp | Tom Stellard | 2012-05-10 | 2 | -158/+0 |
| | | |||||
* | | radeon/llvm: Remove SILowerShaderInstructions.cpp | Tom Stellard | 2012-05-10 | 4 | -81/+0 |
| | | |||||
* | | radeonsi/llvm: Move lowering of RETURN to ConvertToISA pass | Tom Stellard | 2012-05-10 | 2 | -11/+2 |
| | | |||||
* | | radeon/llvm: Add some comments | Tom Stellard | 2012-05-10 | 64 | -422/+393 |
| | | |||||
* | | radeon/llvm: Move util functions into AMDGPU namespace | Tom Stellard | 2012-05-10 | 3 | -39/+37 |
| | | |||||
* | | radeon/llvm: Auto-encode RAT_WRITE_CACHELESS_eg | Tom Stellard | 2012-05-10 | 2 | -17/+0 |
| | | |||||
* | | radeon/llvm: Delete all instructions that have been custom lowered | Tom Stellard | 2012-05-10 | 1 | -4/+1 |
| | | |||||
* | | radeonsi: Set NONE format for unused vertex shader position export slots. | Michel Dänzer | 2012-05-10 | 1 | -3/+3 |
| | | |||||
* | | radeonsi: Eliminate one more magic number for texture image resources. | Michel Dänzer | 2012-05-10 | 1 | -3/+3 |
| | | |||||
* | | radeonsi: Fix vertex buffer resource for stride 0. | Michel Dänzer | 2012-05-10 | 1 | -1/+5 |
| | | |||||
* | | radeon/llvm: Remove AMDGPUConstants.pm | Tom Stellard | 2012-05-09 | 2 | -45/+23 |
| | | |||||
* | | radeon/llvm: Don't rely on tablegen for lowering int_AMDGPU_load_const | Tom Stellard | 2012-05-09 | 5 | -38/+20 |
| | | |||||
* | | radeon/llvm: Make sure the LOAD_CONST def uses the isSI predicate | Tom Stellard | 2012-05-09 | 2 | -7/+7 |
| | | |||||
* | | svga: implement CEIL opcode translation | Brian Paul | 2012-05-09 | 1 | -0/+28 |
| | | | | | | | | Reviewed-by: José Fonseca <[email protected]> | ||||
* | | gallium/drivers: handle TGSI_OPCODE_CEIL | Christoph Bumiller | 2012-05-09 | 4 | -0/+28 |
| | | |||||
* | | r600g: Handle TGSI_OPCODE_CEIL (v2) | Kai Wasserbäch | 2012-05-09 | 1 | -3/+3 |
| | | | | | | | | | | | | | | v2: Enabled CEIL on Cayman too. Signed-off-by: Kai Wasserbäch <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | | radeon/llvm: Remove AMDILUtilityFunctions.cpp | Tom Stellard | 2012-05-08 | 13 | -1041/+399 |
| | | |||||
* | | radeon/llvm: Remove some unused functions from AMDILInstrInfo | Tom Stellard | 2012-05-08 | 2 | -164/+0 |
| | | |||||
* | | radeon/llvm: Add some comments and fix coding style | Tom Stellard | 2012-05-08 | 8 | -42/+41 |
| | | |||||
* | | radeon/llvm: Remove the EXPORT_REG instruction | Tom Stellard | 2012-05-08 | 10 | -117/+8 |
| | |