Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: Add PIPE_CAP_START_INSTANCE | Fredrik Höglund | 2012-06-19 | 1 | -0/+1 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | radeonsi: Don't always re-compile shaders after they're bound. | Michel Dänzer | 2012-06-12 | 1 | -6/+1 |
| | |||||
* | radeonsi: Use linear instead of constant interpolation for now. | Michel Dänzer | 2012-06-12 | 2 | -4/+22 |
| | | | | Constant interpolation still hangs the GPU for some reason. | ||||
* | radeonsi: Only dump shaders with environment variable RADEON_DUMP_SHADERS=1. | Michel Dänzer | 2012-06-12 | 1 | -8/+15 |
| | |||||
* | automake: Globally add stub automake targets to the old Makefiles. | Eric Anholt | 2012-06-11 | 1 | -3/+0 |
| | | | | | | | | | I tried to update all the old Makefiles that included the default config to be sure they had a default target if they didn't previously have one, since this new all target will always point at it. Almost everything had one. Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | radeonsi: Remove use.sgpr* intrinsics, use load instructions instead | Tom Stellard | 2012-05-29 | 1 | -44/+36 |
| | | | | | | | | | | We now model loading uses sgpr values with LLVM IR load instructions that use the USER_SGPR address space. The definition of the sgpr parameter to the use_sgpr() helper function in radeonsi_shader.c has changed so that you can pass raw sgpr values rather than having to divide the sgpr value you want to use by the dword width of the type you want to load. | ||||
* | radeonsi: Handle TGSI CONST registers | Tom Stellard | 2012-05-29 | 1 | -42/+83 |
| | | | | | We now emit LLVM load instructions for TGSI CONST register reads, which are lowered in the backend to S_LOAD_DWORD* instructions. | ||||
* | radeonsi: Only honour point related rasterizer state when rendering points. | Michel Dänzer | 2012-05-18 | 1 | -2/+3 |
| | | | | Avoids hangs when not rendering points. | ||||
* | radeonsi: Fix parameter cache offsets for fragment shader inputs. | Michel Dänzer | 2012-05-18 | 3 | -2/+4 |
| | |||||
* | gallium/radeon: Fix r300g tiling breakage. | Michel Dänzer | 2012-05-16 | 1 | -0/+1 |
| | | | | | | Commit 11f056a3f0b87e86267efa8b5ac9d36a343c9dc1 broke the r300g build. Fix it up, and reinstate some code which isn't needed by r600g and radeonsi but is by r300g. | ||||
* | radeonsi: Initial tiling support. | Michel Dänzer | 2012-05-16 | 5 | -128/+356 |
| | | | | Largely based on the corresponding Evergreen support in r600g. | ||||
* | radeonsi: Bump MAX_DRAW_CS_DWORDS. | Michel Dänzer | 2012-05-16 | 3 | -3/+3 |
| | | | | I missed this when updating si_context_draw(). | ||||
* | radeonsi: Keep around copies of original sampler states. | Michel Dänzer | 2012-05-14 | 1 | -0/+2 |
| | | | | Fixes crashes when restoring sampler states after blits. | ||||
* | radeonsi: Flesh out shader interpolation related code. | Michel Dänzer | 2012-05-14 | 1 | -4/+17 |
| | | | | Handle perspective interpolation and ceontroid vs. center. | ||||
* | radeonsi: Add proper SI family names. | Michel Dänzer | 2012-05-14 | 1 | -1/+3 |
| | |||||
* | radeonsi: Separate states for samplers and sampler views. | Michel Dänzer | 2012-05-14 | 2 | -3/+6 |
| | | | | And reset nregs on updates. Prevents eventual assertion failure. | ||||
* | radeonsi: Fixups for drawing with an index buffer. | Michel Dänzer | 2012-05-14 | 3 | -14/+13 |
| | | | | | Mostly using the DRAW_INDEX_2 type 3 packet instead of DRAW_INDEX, which is no longer supported on SI. | ||||
* | radeonsi: remove slab allocator for pipe_resource (used mainly for user buffers) | Marek Olšák | 2012-05-13 | 3 | -41/+3 |
| | |||||
* | gallium: remove user_buffer_create from the interface | Marek Olšák | 2012-05-12 | 3 | -29/+0 |
| | | | | Nothing uses it now. | ||||
* | radeonsi: Fixed point vertex formats aren't supported. | Michel Dänzer | 2012-05-12 | 1 | -4/+5 |
| | |||||
* | Merge branch 'gallium-userbuf' | Marek Olšák | 2012-05-11 | 7 | -43/+38 |
|\ | | | | | | | | | | | | | | | 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 | ||||
| * | gallium: remove pipe_resource::user_ptr | Marek Olšák | 2012-04-30 | 1 | -5/+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 | 1 | -0/+6 |
| | | | | | | | | This reduces CPU overhead when updating constants. | ||||
| * | gallium: add void *user_buffer in pipe_index_buffer | Marek Olšák | 2012-04-30 | 3 | -6/+3 |
| | | | | | | | | | | | | | | 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 | 1 | -1/+0 |
| | | |||||
| * | gallium: change set_constant_buffer to be UBO-friendly | Marek Olšák | 2012-04-30 | 2 | -5/+5 |
| | | |||||
| * | gallium: add PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT | Marek Olšák | 2012-04-30 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | 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 | 1 | -0/+2 |
| | | |||||
* | | gallium/tgsi: Move interpolation info from tgsi_declaration to a separate token. | Francisco Jerez | 2012-05-11 | 1 | -4/+4 |
| | | | | | | | | | | | | 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. | ||||
* | | radeonsi: Properly translate vertex format swizzle. | Michel Dänzer | 2012-05-11 | 3 | -23/+23 |
| | | | | | | | | egltri_screen works correctly! | ||||
* | | 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 |
|/ | |||||
* | 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. | ||||
* | 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 | 7 | -35/+35 |
| | | | | | The idea is not to use pb_map and pb_unmap wrappers, calling straight into the winsys. | ||||
* | radeonsi: stop using u_vbuf and adapt to gallium interface changes | Marek Olšák | 2012-04-24 | 11 | -98/+100 |
| | |||||
* | gallium: add user_ptr in pipe_resource | Marek Olšák | 2012-04-24 | 1 | -0/+1 |
| | | | | I need to access the pointer in st/mesa when I only have pipe_resource. | ||||
* | radeon: Move radeon_llvm_emit.cpp declarations into their own header | Tom Stellard | 2012-04-23 | 1 | -0/+1 |
| | | | | Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: Replace magic numbers for vertex buffer resource. | Michel Dänzer | 2012-04-19 | 1 | -4/+8 |
| | |||||
* | radeonsi: (User) SGPR related cleanups. | Michel Dänzer | 2012-04-19 | 3 | -16/+33 |
| | | | | | | Use the same user SGPRs for the same purpose in vertex and pixel shaders. Better calculation of the number of SGPRs to reserve. | ||||
* | radeonsi: Fix sampler offsets for shader intrinsic. | Michel Dänzer | 2012-04-19 | 1 | -2/+2 |
| | | | | | The sampler number is in TGSI source register 1, and the S_LOAD_DWORD* instructions take offsets in DWORDs, not bytes. | ||||
* | radeonsi: Replace more magic numbers for sampler state. | Michel Dänzer | 2012-04-19 | 1 | -7/+7 |
| | |||||
* | radeonsi: Fix mip filter encoding in sampler state. | Michel Dänzer | 2012-04-19 | 1 | -3/+3 |
| | | | | Blits are starting to work. | ||||
* | radeonsi: Set tiling mode index for depth/stencil buffers. | Michel Dänzer | 2012-04-19 | 1 | -19/+37 |
| | |||||
* | radeonsi: Improve calculation of number of pixel shader interpolants. | Michel Dänzer | 2012-04-18 | 1 | -23/+7 |
| | |||||
* | radeonsi: Fix calculation of pitch value in sampler view state. | Michel Dänzer | 2012-04-18 | 1 | -4/+2 |
| | |||||
* | radeonsi: Set tiling mode index in sampler view state. | Michel Dänzer | 2012-04-18 | 1 | -0/+1 |
| | | | | Hardcode index for linear mode for now. | ||||
* | radeonsi: Replace magic numbers with register definitions in sampler state. | Michel Dänzer | 2012-04-18 | 1 | -15/+15 |
| |