summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
Commit message (Collapse)AuthorAgeFilesLines
* Move the remaining format pf_get_* functions to u_format.h.Michal Krol2009-12-172-10/+11
| | | | | Previously they depended on format blocks, but after removing those they started depending on format encoding.
* Merge branch 'master' into pipe-format-simplifyMichal Krol2009-12-1716-112/+308
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * llvmpipe: add LP_DEBUG env varJosé Fonseca2009-12-163-59/+151
| | | | | | | | Cherry-picked from dec35d04aeb398eef159aaf8cde5e0d04622b811.
| * llvmpipe: fix broken TGSI_OPCODE_FRC codegenBrian Paul2009-12-161-1/+1
| |
| * llvmpipe: fix broken lp_build_abs()Brian Paul2009-12-161-1/+2
| |
| * llvmpipe: Fix yet another copynpaste typo in lp_build_log2_approx.José Fonseca2009-12-151-1/+1
| | | | | | | | Now fslight looks perfect.
| * llvmpipe: Fix lp_build_polynomial comment.José Fonseca2009-12-151-1/+1
| |
| * llvmpipe: Fix typo in lp_build_log constant.José Fonseca2009-12-151-1/+1
| |
| * llvmpipe: Fix bad SI -> FP conversion into lp_build_log2_approx.José Fonseca2009-12-151-1/+1
| | | | | | | | | | It should be a bitcast as the integer value is actually an encoded FP already.
| * Merge branch 'gallium-strict-aliasing'Roland Scheidegger2009-12-081-2/+3
| |\
| | * gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safeRoland Scheidegger2009-12-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | move assert to avoid crash in debug build.Alan Hourihane2009-12-081-1/+2
| | |
| * | Merge branch 'mesa_7_7_branch'Andre Maasikas2009-12-081-3/+3
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/main/version.h
| | * \ Merge branch 'mesa_7_6_branch' into mesa_7_7_branchAndre Maasikas2009-12-081-3/+3
| | |\ \
| | | * | llvmpipe: Initialize variables in emit_instruction.Vinson Lee2009-12-071-3/+3
| | | | |
| * | | | llvmpipe: Tweak disassembly to match gdb.José Fonseca2009-12-051-2/+8
| | | | | | | | | | | | | | | | | | | | Helps verifying udis86 output.
| * | | | llvmpipe: Stop disassembling when an unsupported opcode is found.José Fonseca2009-12-051-1/+2
| | | | | | | | | | | | | | | | | | | | Otherwise the terminal gets full of garbage.
| * | | | llvmpipe: Port vertex sampler support from softpipe.José Fonseca2009-12-046-8/+101
| | | | | | | | | | | | | | | | | | | | Just enough boilerplate code to avoid segfaulting.
| * | | | llvmpipe: Ensure transfers are mapped.José Fonseca2009-12-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | This shouldn't happen but it does by some misterious reason. Fail the assertion but at least do not segfault on release builds.
| * | | | llvmpipe: Remove debug printf.José Fonseca2009-12-041-1/+0
| | | | |
| * | | | Merge branch 'gallium-noblocks'Roland Scheidegger2009-12-044-30/+28
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
| | * | | gallium: adapt drivers to interface cleanupsRoland Scheidegger2009-12-024-30/+28
| | | | |
* | | | | Revert "Simplify the redundant meaning of format layout."Michal Krol2009-12-091-2/+6
| | | | | | | | | | | | | | | | | | | | This reverts commit eb926ddf9eee1095c7fc12013f0b8375bbaeca6f.
* | | | | Simplify the redundant meaning of format layout.Michal Krol2009-12-081-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | We really just need to know whether the format is compressed or not. For more detailed information format colorspace should suffice.
* | | | | Move pf_get_component_bits() to u_format auxiliary module.Michal Krol2009-12-031-2/+5
| | | | |
* | | | | Move pf_get_block() to u_format auxiliary module.Michal Krol2009-12-031-2/+4
|/ / / /
* | | | Revert "llvmpipe: plug in dummy pipe_context::set_vertex_sampler_textures ↵Brian Paul2009-12-023-21/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function" This reverts commit 792888121b92913733daec7526c9441f27ce1231. We're instead returning 0 for the PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query.
* | | | llvmpipe: return 0 for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS queryBrian Paul2009-12-021-1/+1
| | | | | | | | | | | | | | | | The driver (and draw module) don't support vertex shader textures yet.
* | | | llvmpipe: plug in dummy pipe_context::set_vertex_sampler_textures functionBrian Paul2009-12-023-6/+21
| | | | | | | | | | | | | | | | Fixes immediate segfault.
* | | | Merge commit 'origin/tgsi-simplify-ext'Keith Whitwell2009-12-012-22/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_vs.c
| * | | | tgsi: rename fields of tgsi_full_src_register to reduce verbosityKeith Whitwell2009-11-241-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
| * | | | tgsi: rename fields of tgsi_full_dst_register to reduce verbosityKeith Whitwell2009-11-241-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | DstRegister -> Register DstRegisterInd -> Indirect
| * | | | tgsi: rename fields of tgsi_full_declaration to reduce verbosityKeith Whitwell2009-11-241-2/+2
| | | | | | | | | | | | | | | | | | | | DeclarationRange -> Range
| * | | | tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosityKeith Whitwell2009-11-241-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
| * | | | gallium: try and update r300 and nv drivers for tgsi changesKeith Whitwell2009-11-241-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | lp: Update for renamed sampler/texture state setters.Michal Krol2009-12-011-2/+2
| |/ / |/| |
* | | r300g,llvmpipe: fix some more merge problemsRoland Scheidegger2009-11-271-1/+1
| | |
* | | Merge branch 'width0'Roland Scheidegger2009-11-275-39/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
| * | | gallium: fix more statetrackers/drivers for not using texture ↵Roland Scheidegger2009-11-265-39/+37
| |/ / | | | | | | | | | width/height/depth arrays
* | | llvmpipe: Fake missing SSSE3 when simulation less capabable machines.José Fonseca2009-11-261-0/+1
| | | | | | | | | | | | SSE3 != SSSE3 and so far we only use the later.
* | | llvmpipe: Update/correct CPU requirements.José Fonseca2009-11-261-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | llvmpipe: Update instructions.José Fonseca2009-11-241-15/+17
| | |
* | | llvmpipe: Use assert instead of abort. Only verify functions on debug builds.José Fonseca2009-11-242-2/+4
| | |
* | | llvmpipe: Fix memory leak.José Fonseca2009-11-241-0/+1
| | |
* | | llvmpipe: Use the generic conversion routine for depths.José Fonseca2009-11-241-7/+18
| | | | | | | | | | | | This allows for z32f depth format to work correctly.
* | | llvmpipe: Be more conservative with the supported formats.José Fonseca2009-11-241-7/+51
| | | | | | | | | | | | | | | We'll likely support much more formats, but doing this allows to run more testsuites without immediately hit assertion failures.
* | | llvmpipe: Fix typo in comparison operator.José Fonseca2009-11-241-1/+1
|/ /
* | llvmpipe: Fix derived blend color state.José Fonseca2009-11-101-1/+1
| |
* | llvmpipe: Ensure stack variables in unit tests are properly aligned.José Fonseca2009-11-093-12/+15
| |
* | llvmpipe: Fix build with llvm 2.6.José Fonseca2009-11-062-5/+10
| | | | | | | | Fixes bug 24949.