summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into glsl2Ian Romanick2010-08-13429-7546/+10325
|\
| * r600g: fix color format, indentation, definesJerome Glisse2010-08-063-89/+93
| | | | | | | | Signed-off-by: Jerome Glisse <[email protected]>
| * Revert "r600g: don't use dynamic state allocation for states"Jerome Glisse2010-08-0612-362/+647
| | | | | | | | | | | | | | | | | | | | | | This reverts commit 9c949d4a4dd43b7889e13bdf683bcf211f049ced. Conflicts: src/gallium/drivers/r600/r600_context.h src/gallium/drivers/r600/r600_draw.c src/gallium/drivers/r600/r600_shader.c src/gallium/drivers/r600/r600_state.c
| * draw: Avoid mixed declarations and code.Chia-I Wu2010-08-063-4/+4
| | | | | | | | | | | | | | Do not expand LOCAL_VARS to void expression. Otherwise, declarations and code will be mixed when more variables are declared in FUNC_ENTER. This fixes fdo bug #29416.
| * swrast: Reduce header file inclusion in s_aatriangle.h.Vinson Lee2010-08-061-1/+1
| | | | | | | | Include mtypes.h for GLcontext symbol.
| * swrast: Reduce header file inclusion in s_aaline.h.Vinson Lee2010-08-061-1/+1
| | | | | | | | Include mtypes.h for GLcontext symbol.
| * r300g: Remove unnecessary headers.Vinson Lee2010-08-051-2/+0
| |
| * r600g: start to fix up multiple targets.Dave Airlie2010-08-063-17/+50
| | | | | | | | | | | | fixup exports from pixel shader for multi-cbs + depth buffer writing. Still crashes GPU running any of the multi-buffer or depth writing
| * draw: Remove unnecessary vertex flag ANDs.Chia-I Wu2010-08-061-19/+15
| | | | | | | | | | Vertex flags are a contract between vcache and the pipeline. They are set only for the first vertex of a primitive.
| * draw: Mask out vertex flags in GS and stream output.Chia-I Wu2010-08-062-2/+2
| | | | | | | | This fixes out-of-bound access to the vertices.
| * draw: Include draw_decompose_tmp.h in draw_pt_decompose.h.Chia-I Wu2010-08-062-296/+36
| | | | | | | | Use draw_decompose_tmp.h to replace pipeline primitive decomposer.
| * draw: Include draw_decompose_tmp.h in draw_so_emit_tmp.h.Chia-I Wu2010-08-062-138/+38
| | | | | | | | Use draw_decompose_tmp.h to replace stream out primitive decomposer.
| * draw: Include draw_decompose_tmp.h in draw_gs_tmp.h.Chia-I Wu2010-08-062-171/+39
| | | | | | | | Use draw_decompose_tmp.h to replace GS primitive decomposer.
| * draw: Include draw_decompose_tmp.h in draw_pt_vcache_tmp.h.Chia-I Wu2010-08-062-252/+92
| | | | | | | | | | | | Use draw_decompose_tmp.h to replace vcache primitive decomposer. As the new decomposer supports primitives with adjacency, vcache_triangle_adj and vcache_line_adj (and their variants that have flags) are added.
| * draw: Add draw_decompose_tmp.h.Chia-I Wu2010-08-061-0/+425
| | | | | | | | | | | | | | Including draw_decompose_tmp.h defines a primitive decomposer. It is intended to replace the existing vcache/so/gs/pipe decomposers. This is based on draw_pt_vcache_tmp.h.
| * r600g: add SRGB support.Dave Airlie2010-08-063-4/+23
| | | | | | | | This enables GL2.1 and passes glean's texture_srgb test.
| * r600g: fixup z format translations.Dave Airlie2010-08-062-20/+24
| | | | | | | | this enables GL_EXT_packed_depth_stencil. fbo-d24s8 passes
| * r600g: fix targetmask to work correctly.Dave Airlie2010-08-061-2/+1
| | | | | | | | At least this seems to fix the glean maskedClear test.
| * r600g: improve supported format selection.Dave Airlie2010-08-066-142/+212
| | | | | | | | | | | | | | This fixes fbo-readpixels piglit test, and adds support for swapping the formats. Not all formats are correct yet I don't think. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: add bo wait after map.Dave Airlie2010-08-061-0/+2
| |
| * st/mesa: Clean up header file inclusion in st_program.h.Vinson Lee2010-08-053-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | st_program.h Remove p_shader_tokens.h Include st_context.h for st_context symbol. Include p_state.h for PIPE_MAX_SHADER_INPUTS symbol. Remove unnecessary forward declarations. st_cb_bitmap.c st_cb_clear.c Include p_shader_tokens.h now that st_program.h doesn't include it.
| * r300g: do not emit GB_Z_PEQ_CONFIG on non-r500 if DRM < 2.6.0Marek Olšák2010-08-065-2/+18
| |
| * tgsi: Fix typo, so we follow what is in the commentsJakob Bornecrantz2010-08-051-1/+1
| |
| * tgsi: Add option to stop the sanity checker from printingJakob Bornecrantz2010-08-052-1/+15
| |
| * util: Add option to not dump cpu capsJakob Bornecrantz2010-08-051-17/+22
| |
| * st/mesa: Only get debug option onceJakob Bornecrantz2010-08-051-1/+3
| |
| * st/mesa: Only get mesa mvp dp4 option onceJakob Bornecrantz2010-08-051-1/+4
| | | | | | | | The correct for this is of course to do what comment says
| * llvmpipe: Only get no rast option onceJakob Bornecrantz2010-08-051-1/+5
| |
| * gallivm: Only get debug option onceJakob Bornecrantz2010-08-051-1/+3
| |
| * st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h.Vinson Lee2010-08-052-1/+4
| | | | | | | | | | | | | | | | | | st_mesa_to_tgsi.h Replace tgsi_ureg.h with a forward declaration. Include p_compiler.h for ubyte symbol. st_program.c Include tgsi_ureg.h directly.
| * nvfx: fix nv30 vertex program scalar opcodesLuca Barbieri2010-08-061-1/+7
| | | | | | | | | | | | | | Apparently they have always been broken, even before unification. Fixes a lot of stuff, starting from morph3d and lighting in teapot with textures disabled.
| * nvfx: shut up unknown cap 64 warningLuca Barbieri2010-08-061-0/+2
| |
| * st/mesa: Clean up header file inclusion in st_manager.h.Vinson Lee2010-08-052-2/+6
| | | | | | | | | | | | | | | | Include mtypes.h for GLcontext, gl_buffer_index, and GLframebuffer symbols. Include p_compiler.h for boolean symbol. Include st_context.h in st_cb_eglimage.c as it previously included st_context.h indirectly through st_manager.h.
| * glsl: fix atan(0, -1)Brian Paul2010-08-051-1/+1
| | | | | | | | | | | | Fixes fd.o bug 29388 NOTE: this is a candidate for the 7.8 branch.
| * r600c: tiling require drm 2.6.0, not 2.5.0Alex Deucher2010-08-051-1/+1
| |
| * r600: add support for getting the tiling config via drm ioctl (v2)Alex Deucher2010-08-051-0/+57
| | | | | | | | | | | | | | | | Needed for the the 2D tiling span functions. v2: rebase on new kernel, mesa changes Signed-off-by: Alex Deucher <[email protected]>
| * r600: add new relocs for tiling supportAlex Deucher2010-08-052-18/+39
| | | | | | | | Signed-off-by: Alex Deucher <[email protected]>
| * r600: add span support for 2D tilingAlex Deucher2010-08-054-5/+210
| | | | | | | | | | | | | | Requires tiling config ioctl support from the drm to use. kms only. Signed-off-by: Alex Deucher <[email protected]>
| * r600g: don't use dynamic state allocation for statesJerome Glisse2010-08-0512-657/+361
| | | | | | | | | | | | | | | | | | | | Simplify state handly by avoiding state allocation. Next step is to allocate once for all context packet buffer and then avoid rebuilding pm4 packet each time (through use of combined crc) this would also avoid number of memcpy. Signed-off-by: Jerome Glisse <[email protected]>
| * targets/egl: fix buildJoakim Sindholt2010-08-051-0/+1
| |
| * r300g: fix fb_state atom sizeMarek Olšák2010-08-051-2/+6
| |
| * r300g: debug_print on startup whether we can use hyper-zMarek Olšák2010-08-051-2/+4
| |
| * r300g: always emit hyperz state atom.Dave Airlie2010-08-051-5/+2
| |
| * r300g: disable hiz on rv530 for now.Dave Airlie2010-08-051-1/+1
| | | | | | | | On my rv530 at least HiZ is causing rendering issues in gears.
| * r300g: implement hyper-z support. (v4)Dave Airlie2010-08-0523-47/+701
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements fast Z clear, Z compression, and HiZ support for r300->r500 GPUs. It also allows cbzb clears when fast Z clears are being used for the ZB. It requires a kernel with hyper-z support. Thanks to Marek Olšák <[email protected]>, who started this off, and Alex Deucher at AMD for providing lots of hints. v2: squashed zmask ram size fix] squashed r300g/blitter: fix Z readback when compressed] v3: rebase around texture changes in master - .1 fix more bits v4: migrated to using u_mm in r300_texture to manage hiz/zmask rams consistently disabled HiZ when using OQ flush z-cache before turning hyper-z off update hyper-z state on dsa state change store depthclearvalue across cbzb clears and replace it afterwards. Signed-off-by: Dave Airlie <[email protected]>
| * docs: clarify point sprite discussionKeith Whitwell2010-08-051-16/+23
| | | | | | | | Plagiarizes email explanation from Roland.
| * st/mesa: Remove unnecessary header from st_gl_api.h.Vinson Lee2010-08-051-2/+0
| |
| * mesa: Include missing header in st_get_mipmap.h.Vinson Lee2010-08-051-0/+4
| | | | | | | | | | Include mtypes.h for GLcontext symbol. Add forward declaration for st_context.
| * st/mesa: Include missing headers in st_format.h.Vinson Lee2010-08-051-0/+5
| |
| * st/mesa: Add forward delcaration in st_extensions.h.Vinson Lee2010-08-051-0/+2
| |