summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
AgeCommit message (Collapse)Author
2010-01-12gallium: Generalize the alignment macros to other compilers and any alignment.José Fonseca
2010-01-10llvmpipe: Update instructions.José Fonseca
Explain how to build for windows. Both MSVC 9 and cross MinGW supported. Stop documenting LLVM 2.5 as supported. It still supported at the moment but it will soon stop being.
2010-01-10llvmpipe: Yet another hack to get release LLVM static libraries to link in ↵José Fonseca
debug builds.
2010-01-08lvmpipe: Initialize all coordinates.José Fonseca
Fixes assertion failure with fp-incomplete-tex (fdo 24298).
2010-01-07llvmpipe: Remove TGSI sampler pointers from JIT context too.José Fonseca
2010-01-07llvmpipe: Remove more loose ends of TGSI exec sampling.José Fonseca
2010-01-07llvmpipe: Axe texture sampling code inherited from softpipe.José Fonseca
Was used only as a reference, since texture sampling is now code generated. Already axed in the lp-binning branch too. This fixes the llvmpipe build after recent sampling changes.
2010-01-06pipe_sampler_state::compare_mode is not a boolean enable flag.Michal Krol
It's a 1-bit enum.
2010-01-06gallium: remove PIPE_TEX_FILTER_ANISOLuca Barbieri
This patch removes PIPE_TEX_FILTER_ANISO. Anisotropic filtering is enabled if and only if max_anisotropy > 1.0. Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be considered equivalent, and meaning to turn off anisotropic filtering. This approach has the small drawback of eliminating the possibility of enabling anisotropic filter on either minification or magnification separately, which Radeon hardware seems to support, is currently support by Gallium but not exposed to OpenGL. If this is actually useful it could be handled by splitting max_anisotropy in two values and adding an appropriate OpenGL extension. NOTE: some fiddling & reformatting by keithw to get this patch to apply. Hopefully nothing broken in the process.
2010-01-05Merge commit 'origin/gallium-draw-retval'Keith Whitwell
Conflicts: src/gallium/drivers/identity/id_context.c
2010-01-05Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR.Michal Krol
This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR.
2010-01-04Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
2010-01-04silence compiler warningAlan Hourihane
2010-01-03llvmpipe: Remove comma at end of enumerator list.Vinson Lee
2010-01-01llvmpipe: Silence uninitialized variable warning.Vinson Lee
2010-01-01llvmpipe: Use C-style comment.Vinson Lee
2010-01-01llvmpipe: Add missing include path.José Fonseca
The abscense was being masked previously.
2010-01-01scons: Aggregate all tiny libraries in a single library.José Fonseca
Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
2009-12-28llvmpipe: Fix assert.Vinson Lee
2009-12-28llvmpipe: Silence compiler warnings.Vinson Lee
2009-12-28llvmpipe: Unmapping vertex/index buffers does NOT flush draw module anymore.José Fonseca
Not since 6094e79f4e3350d123c7532b1c73faa60834a62d. Drivers now need to flush draw module explicitely (which explains why all those previous commits adding draw_flushes calls were necessary). This is a good thing, but it's tricky to get this right in face of user buffers (it's not even clear who has the responsibility to flush when a user buffer is seen -- statetracker or pipe driver), so just force flush (temporarily) since it's not a bottleneck now.
2009-12-28llvmpipe: Silence compiler warnings.Vinson Lee
2009-12-26llvmpipe: Treat state changes systematically.José Fonseca
That is: - check for no op - update/flush draw module - update bound state and mark it as dirty In particular flushing the draw module is important since it may contain unflushed primitives which would otherwise be draw with wrong state.
2009-12-26llvmpipe: Use comments and more code from softpipe's is_texture_referenced ↵José Fonseca
implementation.
2009-12-26llvmpipe: Flush draw module before switching framebuffer.José Fonseca
Otherwise geometry will end up in the wrong rendertarget.
2009-12-25gs: fix drivers so they work with geometry shadersZack Rusin
2009-12-25gallium: add geometry shader support to galliumZack Rusin
2009-12-23llvmpipe: Install unit tests on build/xxx/binJosé Fonseca
2009-12-22Merge branch 'gallium-edgeflags'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_draw.c
2009-12-21gallium: propogate draw retval changes into more driversKeith Whitwell
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-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-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-16llvmpipe: add LP_DEBUG env varJosé Fonseca
Cherry-picked from dec35d04aeb398eef159aaf8cde5e0d04622b811.
2009-12-16llvmpipe: fix broken TGSI_OPCODE_FRC codegenBrian Paul
2009-12-16llvmpipe: fix broken lp_build_abs()Brian Paul
2009-12-15llvmpipe: Fix yet another copynpaste typo in lp_build_log2_approx.José Fonseca
Now fslight looks perfect.
2009-12-15llvmpipe: Fix lp_build_polynomial comment.José Fonseca
2009-12-15llvmpipe: Fix typo in lp_build_log constant.José Fonseca
2009-12-15llvmpipe: Fix bad SI -> FP conversion into lp_build_log2_approx.José Fonseca
It should be a bitcast as the integer value is actually an encoded FP already.
2009-12-09Revert "Simplify the redundant meaning of format layout."Michal Krol
This reverts commit eb926ddf9eee1095c7fc12013f0b8375bbaeca6f.
2009-12-08Simplify the redundant meaning of format layout.Michal Krol
We really just need to know whether the format is compressed or not. For more detailed information format colorspace should suffice.
2009-12-08Merge branch 'gallium-strict-aliasing'Roland Scheidegger
2009-12-08move assert to avoid crash in debug build.Alan Hourihane
2009-12-08Merge branch 'mesa_7_7_branch'Andre Maasikas
Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/main/version.h
2009-12-08Merge branch 'mesa_7_6_branch' into mesa_7_7_branchAndre Maasikas
2009-12-07llvmpipe: Initialize variables in emit_instruction.Vinson Lee
2009-12-07gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safeRoland Scheidegger
use pointer to union instead of void pointer. gcc complained a lot, depending what the pointer originally actually was. Looks like it's in fact maybe legal to cast for instance uint pointers to union pointers as long as union contains a uint type, hence use this with some callers, other just use union util_color in the first place.
2009-12-05llvmpipe: Tweak disassembly to match gdb.José Fonseca
Helps verifying udis86 output.