Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rbug: update data structures, functions for future changes | Brian Paul | 2012-08-16 | 3 | -76/+71 |
| | | | | | To support geom/compute/etc shaders, samplers, sampler views, etc. To support pipe->bind_sampler_states() w/ start_slot. | ||||
* | gallium/trace: add 'start' parameter to bind_sampler_states/views() | Brian Paul | 2012-08-16 | 1 | -4/+14 |
| | |||||
* | gallium/identity: add 'start' parameter to bind_sampler_states/views() | Brian Paul | 2012-08-16 | 1 | -4/+12 |
| | |||||
* | galahad: add 'start' parameter to bind_sampler_states/views() | Brian Paul | 2012-08-16 | 1 | -41/+57 |
| | |||||
* | svga: add 'start' parameter to bind_sampler_states/views() | Brian Paul | 2012-08-16 | 1 | -24/+65 |
| | |||||
* | llvmpipe: add 'start' parameter to bind_sampler_states/views() | Brian Paul | 2012-08-16 | 1 | -22/+45 |
| | |||||
* | softpipe: add 'start' parameter to bind_sampler_states/views() | Brian Paul | 2012-08-16 | 1 | -25/+49 |
| | | | | | To support updating a sub-range of sampler states/views in the future. Note that we always pass start=0 at this time. | ||||
* | gallium/trace: consolidate sampler, sampler_view code | Brian Paul | 2012-08-16 | 1 | -50/+82 |
| | |||||
* | gallium/identity: consolidate sampler, sampler_view code | Brian Paul | 2012-08-16 | 1 | -32/+54 |
| | | | | This will simplify things when the pipe_context functions are consolidated. | ||||
* | gallium: remove PIPE_MAX_VERTEX/GEOMETRY_SAMPLERS #define | Brian Paul | 2012-08-16 | 15 | -36/+32 |
| | | | | | | | | | | | | PIPE_MAX_SAMPLERS, PIPE_MAX_VERTEX_SAMPLERS and PIPE_MAX_GEOMETRY_SAMPLERS were all defined to the same value (16). In various places we're creating arrays such as sampler_views[PIPE_SHADER_TYPES][PIPE_MAX_SAMPLERS] so we were assuming the same number of max samplers for all shader stages anyway. Of course, drivers are still free to advertise different numbers of max samplers for different shaders. | ||||
* | gallium: add a shader stage/type param to some draw functions | Brian Paul | 2012-08-16 | 3 | -18/+20 |
| | | | | | To prepare for geometry shader texture support in the draw module. Note: we still only handle the vertex shader case. | ||||
* | svga: move result->key expression after result != NULL check | Brian Paul | 2012-08-16 | 1 | -1/+3 |
| | |||||
* | svga: fix result==NULL logic in emit_fs_consts() | Brian Paul | 2012-08-16 | 1 | -23/+25 |
| | | | | | | | | The previous test for result != NULL was kind of bogus since we dereferenced the pointer earlier in the code. Now, check for result != NULL first, then get the result->key info. Also, remove the useless "offset +=" code at the end. | ||||
* | svga: update comment (s/SVGA_NEW_VS_RESULT/SVGA_NEW_VS_PRESCALE/) | Brian Paul | 2012-08-16 | 1 | -1/+1 |
| | |||||
* | svga: rename svga_hw_vs_parameters -> svga_hw_vs_constants | Brian Paul | 2012-08-16 | 3 | -6/+6 |
| | | | | and similarly for svga_hw_fs_parameters | ||||
* | radeonsi: Fix symbol conflicts with r600g. | Michel Dänzer | 2012-08-16 | 10 | -268/+254 |
| | | | | | | | Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50389 Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: Fix memory leaks if returning early from some state functions. | Michel Dänzer | 2012-08-16 | 2 | -12/+14 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: Fix LLVM context leak. | Michel Dänzer | 2012-08-16 | 1 | -0/+1 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | llvmpipe: Silence Coverity incorrect sizeof expression defect. | Vinson Lee | 2012-08-15 | 1 | -1/+1 |
| | | | | | Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: José Fonseca <[email protected]> | ||||
* | radeon/llvm: Enable if-cvt | Vincent Lejeune | 2012-08-15 | 1 | -0/+3 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Add callbacks needed by if-cvt | Vincent Lejeune | 2012-08-15 | 2 | -2/+151 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Lower branch/branch_cond into predicated jump | Vincent Lejeune | 2012-08-15 | 7 | -145/+278 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Add a predicated JUMP instruction | Vincent Lejeune | 2012-08-15 | 1 | -0/+9 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Support for predicate bit | Vincent Lejeune | 2012-08-15 | 8 | -13/+125 |
| | | | | | | | Tom Stellard: - A few changes to predicate register defs Signed-off-by: Tom Stellard <[email protected]> | ||||
* | r600g: Glue to handle predicate aware output from llvm | Vincent Lejeune | 2012-08-15 | 1 | -11/+22 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | r600g: Fix instruction group merge when there are predicated insts. | Vincent Lejeune | 2012-08-15 | 1 | -0/+18 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Do not use PV/PS if PRED_SEL does not match | Vincent Lejeune | 2012-08-15 | 1 | -2/+4 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | r600g: Add support for predicates | Vincent Lejeune | 2012-08-15 | 4 | -11/+18 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | radeonsi: move ps sampler state into PM4 stream | Christian König | 2012-08-15 | 1 | -17/+7 |
| | | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: move ps sampler views into PM4 stream | Christian König | 2012-08-15 | 1 | -22/+7 |
| | | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: move vertex state descriptors into PM4 stream | Christian König | 2012-08-15 | 1 | -27/+9 |
| | | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeonsi: add shader data infrastructure | Christian König | 2012-08-15 | 3 | -2/+40 |
| | | | | | | | | With this we can embed data for the shaders (like resource descriptors) into the PM4 stream. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeon/llvm: add support to fetch temps as vectors | Christian König | 2012-08-15 | 1 | -1/+11 |
| | | | | | | | | Necessary for texture fetches with temp regs as source on SI. Signed-off-by: Christian König <[email protected]> Reviewed-by: Tom Stellard <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeon/llvm: Remove AMDGPUUtil.cpp | Tom Stellard | 2012-08-15 | 8 | -81/+22 |
| | |||||
* | radeon/llvm: Cleanup AMDGPUUtil.cpp | Apostolos Bartziokas | 2012-08-15 | 6 | -119/+95 |
| | |||||
* | radeon/llvm: Lower loads from USE_SGPR adddress space during DAG lowering | Tom Stellard | 2012-08-15 | 5 | -66/+50 |
| | |||||
* | radeon/llvm: Add live-in registers during DAG lowering | Tom Stellard | 2012-08-15 | 9 | -66/+82 |
| | | | | | | Psuedo instructions emulating live-in registers have been removed and their corresponding intrinsics are now being lowered during DAG lowering. | ||||
* | radeon/llvm: Lower store_output intrinsic during DAG lowering | Tom Stellard | 2012-08-15 | 3 | -22/+22 |
| | |||||
* | radeon/llvm: Force VTX_READ instructions to use same reg for src and dst | Tom Stellard | 2012-08-15 | 1 | -0/+14 |
| | | | | | | I was seeing some GPU hangs that seemed to be cause by ALU instructions writing to the same register used as the source for VTX_READ. Adding this constraint to the VTX_READ instructions avoids this situation. | ||||
* | radeonsi: fix build breakage after u_blitter changes | Marek Olšák | 2012-08-15 | 1 | -3/+3 |
| | |||||
* | gallium/u_blitter: document custom meta helpers | Marek Olšák | 2012-08-15 | 2 | -3/+3 |
| | |||||
* | r600g: disable handling of DISCARD_RANGE | Marek Olšák | 2012-08-15 | 1 | -0/+2 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=53130 | ||||
* | r600g: implement timestamp query and get_timestamp hook | Marek Olšák | 2012-08-15 | 2 | -2/+28 |
| | | | | Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: enable MSAA on evergreen by default | Marek Olšák | 2012-08-15 | 1 | -3/+24 |
| | | | | v2: add the DRM version check | ||||
* | r600g: implement copying between MSAA textures | Marek Olšák | 2012-08-15 | 1 | -4/+10 |
| | |||||
* | r600g: implement MSAA color resolve | Marek Olšák | 2012-08-15 | 4 | -3/+108 |
| | |||||
* | r600g: implement MSAA depth-stencil decompression and resolve | Marek Olšák | 2012-08-15 | 4 | -35/+140 |
| | | | | and integer textures, which are resolved the same as depth, I think. | ||||
* | r600g: implement TXQ_LZ opcode | Marek Olšák | 2012-08-15 | 1 | -7/+15 |
| | |||||
* | r600g: implement MSAA rendering and texturing for evergreen and cayman | Marek Olšák | 2012-08-15 | 4 | -26/+232 |
| | |||||
* | r600g: implement set_sample_mask | Marek Olšák | 2012-08-15 | 6 | -17/+61 |
| |