summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
AgeCommit message (Collapse)Author
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.
2009-12-05llvmpipe: Stop disassembling when an unsupported opcode is found.José Fonseca
Otherwise the terminal gets full of garbage.
2009-12-04llvmpipe: Port vertex sampler support from softpipe.José Fonseca
Just enough boilerplate code to avoid segfaulting.
2009-12-04llvmpipe: Ensure transfers are mapped.José Fonseca
This shouldn't happen but it does by some misterious reason. Fail the assertion but at least do not segfault on release builds.
2009-12-04llvmpipe: Remove debug printf.José Fonseca
2009-12-04Merge branch 'gallium-noblocks'Roland Scheidegger
Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
2009-12-03Move pf_get_component_bits() to u_format auxiliary module.Michal Krol
2009-12-03Move pf_get_block() to u_format auxiliary module.Michal Krol
2009-12-02Revert "llvmpipe: plug in dummy pipe_context::set_vertex_sampler_textures ↵Brian Paul
function" This reverts commit 792888121b92913733daec7526c9441f27ce1231. We're instead returning 0 for the PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query.
2009-12-02llvmpipe: return 0 for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS queryBrian Paul
The driver (and draw module) don't support vertex shader textures yet.
2009-12-02llvmpipe: plug in dummy pipe_context::set_vertex_sampler_textures functionBrian Paul
Fixes immediate segfault.
2009-12-02gallium: adapt drivers to interface cleanupsRoland Scheidegger
2009-12-01Merge commit 'origin/tgsi-simplify-ext'Keith Whitwell
Conflicts: src/gallium/drivers/r300/r300_vs.c
2009-12-01lp: Update for renamed sampler/texture state setters.Michal Krol
2009-11-27r300g,llvmpipe: fix some more merge problemsRoland Scheidegger
2009-11-27Merge branch 'width0'Roland Scheidegger
Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
2009-11-26gallium: fix more statetrackers/drivers for not using texture ↵Roland Scheidegger
width/height/depth arrays
2009-11-26llvmpipe: Fake missing SSSE3 when simulation less capabable machines.José Fonseca
SSE3 != SSSE3 and so far we only use the later.
2009-11-26llvmpipe: Update/correct CPU requirements.José Fonseca
There are no hard requirements at the moment. We don't really emit any sse3 yet. Just some ssse3. Thanks to Roland for spotting these incorrections.
2009-11-24llvmpipe: Update instructions.José Fonseca
2009-11-24tgsi: rename fields of tgsi_full_src_register to reduce verbosityKeith Whitwell
SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
2009-11-24tgsi: rename fields of tgsi_full_dst_register to reduce verbosityKeith Whitwell
DstRegister -> Register DstRegisterInd -> Indirect
2009-11-24tgsi: rename fields of tgsi_full_declaration to reduce verbosityKeith Whitwell
DeclarationRange -> Range
2009-11-24tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosityKeith Whitwell
InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
2009-11-24llvmpipe: Use assert instead of abort. Only verify functions on debug builds.José Fonseca
2009-11-24llvmpipe: Fix memory leak.José Fonseca
2009-11-24llvmpipe: Use the generic conversion routine for depths.José Fonseca
This allows for z32f depth format to work correctly.
2009-11-24llvmpipe: Be more conservative with the supported formats.José Fonseca
We'll likely support much more formats, but doing this allows to run more testsuites without immediately hit assertion failures.
2009-11-24llvmpipe: Fix typo in comparison operator.José Fonseca
2009-11-24gallium: try and update r300 and nv drivers for tgsi changesKeith Whitwell
It would be nice if these drivers built under the linux-debug header so that these types of interface changes can be minimally propogated into those drivers by people without the hardware. They don't have to generate a working driver -- though a command-dumping winsys would be an excellent for regression checking.
2009-11-10llvmpipe: Fix derived blend color state.José Fonseca
2009-11-09llvmpipe: Ensure stack variables in unit tests are properly aligned.José Fonseca
2009-11-06llvmpipe: Fix build with llvm 2.6.José Fonseca
Fixes bug 24949.