summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
AgeCommit message (Collapse)Author
2010-02-08llvmpipe: export the tgsi translation code to a common layerZack Rusin
the llvmpipe tgsi translation is a lot more complete than what was in gallivm so replacing the latter with the former. this is needed since the draw llvm paths will use the same code. effectively the proven llvmpipe code becomes gallivm.
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
2010-01-21llvmpipe: Remove unnecessary headers.Vinson Lee
2010-01-08lvmpipe: Initialize all coordinates.José Fonseca
Fixes assertion failure with fp-incomplete-tex (fdo 24298).
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.
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: Silence compiler warnings.Vinson Lee
2009-12-28llvmpipe: Silence compiler warnings.Vinson Lee
2009-12-16llvmpipe: fix broken TGSI_OPCODE_FRC codegenBrian Paul
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-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_instruction to avoid excessive verbosityKeith Whitwell
InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
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-10-23gallium: remove the swizzling parts of ExtSwizzleKeith Whitwell
These haven't been used by the mesa state tracker since the conversion to tgsi_ureg, and it seems that none of the other state trackers are using it either. This helps simplify one of the biggest suprises when starting off with TGSI shaders.
2009-10-23gallium: remove noise opcodesKeith Whitwell
Provide a dummy implementation in the GL state tracker (move 0.5 to the destination regs). At some point, a motivated person could add a better implementation of noise. Currently not even the nvidia binary drivers do anything more than this. In any case, the place to do this is in the GL state tracker, not the poor driver.
2009-09-14llvmpipe: Make lp_type a regular union.José Fonseca
Union not worth the hassle of violating C99 or adding a name to the structure.
2009-09-13llvmpipe: Compute derivatives.José Fonseca
2009-09-13llvmpipe: Delay storing into the dst register to prevent clobbering the src ↵José Fonseca
registers. How I'm thankful for regular expressions -- just a couple of them were all that was needed to do this otherwise tiresome and bug prone change.
2009-09-13llvmpipe: Translate more TGSI opcodes.José Fonseca
Basically cover all low hanging fruit, and mark the still missing opcodes as "fixme" or deprecated.
2009-09-11llvmpipe: Update status in README and TODO/FIXME comments throughout the code.José Fonseca
2009-09-07llvmpipe: Further abstract the texture sampling generation from TGSI ↵José Fonseca
translation.
2009-09-01tgsi: remove redundant CND0 opcodeKeith Whitwell
Can be implemented with CMP src2, src1, src0
2009-08-29llvmpipe: Update for changes in master.José Fonseca
2009-08-29llvmpipe: Isolate sampling from TGSI translation.José Fonseca
2009-08-29llvmpipe: Factor out and optimize the input interpolation.José Fonseca
Special attention is given to the interpolation of side by side quads. Multiplications are made only for the first quad. Interpolation of inputs for posterior quads are done exclusively with additions, and perspective divide if necessary.
2009-08-29llvmpipe: s/uni/scalar/.José Fonseca
More obvious name.
2009-08-29llvmpipe: Add a bunch of comments.José Fonseca
Description/rationale/to-do items, while I still remember them...
2009-08-29llvmpipe: Early depth testing.José Fonseca
2009-08-29llvmpipe: Centralize mask update logic.José Fonseca
2009-08-29llvmpipe: Code generate the position interpolation.José Fonseca
2009-08-29llvmpipe: Implement saturation.José Fonseca
2009-08-29llvmpipe: Drop the FETCH/STORE macros.José Fonseca
2009-08-29llvmpipe: Debug helper function to name llvm intermediate values.José Fonseca
2009-08-29llvmpipe: Implement LIT.José Fonseca
2009-08-29llvmpipe: Implement comparison opcodes.José Fonseca
2009-08-29llvmpipe: Fix translation of KIL with repeated swizzles.José Fonseca
2009-08-29llvmpipe: Silence compiler warnings.José Fonseca
2009-08-29llvmpipe: Implement KIL.José Fonseca
2009-08-29llvmpipe: More verbose error message when failed to translate opcodes.José Fonseca
2009-08-29llvmpipe: Pass the interpolation factors as scalars.José Fonseca
2009-08-29llvmpipe: Code generate interpolators.José Fonseca
2009-08-29llvmpipe: Translate approximate log2/exp2.José Fonseca
2009-08-29llvmpipe: Handle a few more TGSI opcodes.José Fonseca
2009-08-29llvmpipe: Migrate more SSE2 codegen to LLVM IR.José Fonseca
2009-08-29llvmpipe: Reuse coord/texel store.José Fonseca
2009-08-29llvmpipe: TGSI -> LLVM SoA IR converstion.José Fonseca
Based on tgsi_sse2.c.