summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-18progs/glsl: Use C-style comments.Vinson Lee
2009-12-18progs/demos: Use C-style comment.Vinson Lee
2009-12-18r300g: Fix provoking vertex for non-quads.Corbin Simpson
Read the comments. In short, we can't possibly pass piglit's glean/clipFlat without some help from Gallium and an API/spec change.
2009-12-18r300g: Respect provoking vertex for trifans.Corbin Simpson
Fixes part of piglit's clipFlat test; next up is to get quads right.
2009-12-19gallium: fix up drivers for edgeflag changesRoland Scheidegger
several drivers which chose to ignore edgeflags might require some more work, while edgeflags never worked there they might now crash.
2009-12-18gallium: store edgflag info in tgsi_shader_infoRoland Scheidegger
provides easier access for drivers which may base fallback decision on this
2009-12-18r300g: Eliminate a couple more asserts.Corbin Simpson
2009-12-18r300g: Nuke r300_vbo.Corbin Simpson
2009-12-18progs/demos: fix glut initialization callsBrian Paul
Remove glutInitWindowPosition() calls to play nicer with window managers. Move glutInitWindowSize() calls before glutInit() so the the default window size can be overridden by the -geometry cmd line option.
2009-12-18glsl: clear out shader code before compilingBrian Paul
When we start compiling a shader, first free the existing gl_program. This (mostly) fixes the piglit glsl-reload-source test. Without this change, we were actually appending the new GPU code onto the previous program.
2009-12-18llvmpipe: added linux-llvm-debug configurationBrian Paul
2009-12-18llvmpipe: change configs/linux-llvm from debug build to optimized buildBrian Paul
Basically equivalent to the SCons non-debug build now.
2009-12-18radeon: protect fbo allocation message with debugAlex Deucher
fixes fdo bug 25708 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-18fix debug output mising from edgeflag changesRoland Scheidegger
2009-12-18gallium: fix mesa to tgsi translation for edgeflagsRoland Scheidegger
test apps (progs/trivial/tri-edgeflags and similar) seem to work now
2009-12-18util: Add util_format_has_alpha(), enclose in extern C.Michal Krol
2009-12-18util/pack: Handle the remaining formats with generic u_format access functions.Michal Krol
2009-12-18util: Update blitter for u_format changes.Corbin Simpson
:T
2009-12-18Revert "r300g: flush CS if a buffer being deleted is referenced by it"Corbin Simpson
As requested by just about everybody. I'm going back to actually reading patches before ACKing and pushing them. This reverts commit 417ce06306962a9355cbb35cefcdea1951b0ce85. Conflicts: src/gallium/winsys/drm/radeon/core/radeon_buffer.c
2009-12-18Merge branch 'pipe-format-simplify'Michal Krol
2009-12-18r600 : enable gl2, set R600_ENABLE_GLSL_TEST by default.Richard Li
2009-12-18radeon: fix frontbuffer read/drawpixelsDave Airlie
Bug 25699 The main problem was the optimising flush wasn't doing the front rendering checks properly.
2009-12-18r300g: store own copy of flush_cb and flush data.Dave Airlie
don't go sneaking around inside the libdrm copy.
2009-12-17Move the remaining format pf_get_* functions to u_format.h.Michal Krol
Previously they depended on format blocks, but after removing those they started depending on format encoding.
2009-12-17util: Remove util_format_get_block().Michal Krol
2009-12-17Merge branch 'master' into pipe-format-simplifyMichal Krol
Conflicts: src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/auxiliary/draw/draw_pipe_pstipple.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/auxiliary/util/u_surface.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/drivers/cell/ppu/cell_texture.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/softpipe/sp_tile_cache.c src/gallium/drivers/svga/svga_state_vs.c src/gallium/include/pipe/p_format.h src/gallium/state_trackers/dri/dri_drawable.c src/gallium/state_trackers/egl/egl_surface.c src/gallium/state_trackers/python/p_device.i src/gallium/state_trackers/python/st_softpipe_winsys.c src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/image.c src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/vg_tracker.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/gallium/state_trackers/xorg/xvmc/surface.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_buffer.c src/gallium/winsys/egl_xlib/sw_winsys.c src/gallium/winsys/g3dvl/xlib/xsp_winsys.c src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c src/gallium/winsys/gdi/gdi_softpipe_winsys.c src/gallium/winsys/xlib/xlib_cell.c src/gallium/winsys/xlib/xlib_llvmpipe.c src/gallium/winsys/xlib/xlib_softpipe.c src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_texture.c
2009-12-17llvmpipe: fix upper/lower-case typoBrian Paul
2009-12-17llvmpipe: added function commentsBrian Paul
2009-12-17util/format: Fix bogus assertion.Michal Krol
2009-12-17s/desc->type/desc->channel[0].type/Michal Krol
2009-12-17glsl/apps: Add dummy install target to fix 'make install'Sedat Dilek
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-12-17configure.ac: Add glsl to SRC_DIRSSedat Dilek
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-12-17llvmpipe: remove unused code, added comments, etcBrian Paul
2009-12-17llvmpipe: replace INT_MIN/2 with INT_MINBrian Paul
Since changing the in/out test we can just use INT_MIN to be sure the comparison against the step values always passes.
2009-12-17Merge branch 'glsl-pp-rework-2'Michal Krol
2009-12-17llvmpipe: improve the in/out test a littleBrian Paul
Instead of: s = c + step m = s > 0 Do: m = step > c (with negated c)
2009-12-17llvmpipe: keep copy of framebuffer state in setup contextKeith Whitwell
Avoids crashes when first frame is rendered before window is mapped. Avoids potential issue where fb state is changed before setup context is flushed.
2009-12-17radeon: drop assert accessing cref which is meant to be hiddenDave Airlie
2009-12-17radeon: drop unused members of radeon_state.Dave Airlie
2009-12-17r600: move structs for legacy cmdbuf into cmdbuf C file.Dave Airlie
these really shouldn't be exposed here
2009-12-16llvmpipe: do final the pixel in/out triangle test in the fragment shaderBrian Paul
The test to determine which of the pixels in a 2x2 quad is now done in the fragment shader rather than in the calling C code. This is a little faster but there's a few more things to do. Note that the step[] array elements are in a different order now. Rather than being in row-major order for the 4x4 grid, they're in "quad-major" order. The setup of the step arrays is a little more complicated now. So is the course/intermediate tile test code, but some lookup tables help with that. Next steps: - early-cull 2x2 quads which are totally outside the triangle. - skip the in/out test for fully contained quads - make the in/out comparison code tighter/faster.
2009-12-16r600: Invert front face winding when rendering to FBOAlex Deucher
fixes fdo bug 25679 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-16gallium: edgeflags change fixesRoland Scheidegger
use correct number of vertex inputs fix not running pipeline in case of edgeflags changes to mesa to tgsi translation still very broken
2009-12-16llvmpipe: added lp_build_int32_vec4_type()Brian Paul
2009-12-16llvmpipe: refactor lp_build_cmp() to use lp_build_compare()Brian Paul
2009-12-16mesa: set version string to 7.6.1-rc4Ian Romanick
2009-12-16mesa: add missing semicolonBrian Paul
See bug 25663.
2009-12-16r600 : clean a bit to prepare to enable gl2.Richard Li
2009-12-16docs: document 7.6.1 BlueGene fixesBrian Paul
2009-12-16llvmpipe: add LP_DEBUG env varJosé Fonseca
Cherry-picked from dec35d04aeb398eef159aaf8cde5e0d04622b811.