summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2009-09-19llvmpipe: Respect input interpolators for the shader.Michal Krol
Cherry-picked from fb2c7b6743ba6e89f24843890fb7fcd6a09c3dbb
2009-09-18softpipe: Fix cube face selection.Michal Krol
If arx and ary are equal, we still want to choose from one of them, and not arz.
2009-09-17softpipe: Respect input interpolators for the shader.Michal Krol
2009-09-17tgsi: Scan input interpolators, too.Michal Krol
2009-09-16llvmpipe: Don't assert due to unsupported texture wrap modes.José Fonseca
Issue a warning and fallback to clamping.
2009-09-16gallium: remove incorrect 'return' stmtBrian Paul
2009-09-16gallium: Deprecate PIPE_CAP_S3TC.José Fonseca
No longer used. S3TC support is queried via pipe_screen::is_format_supported.
2009-09-16softpipe: Do not advertise Z32_UNORM as a supported format.Michal Krol
2009-09-16gdi: Integrate with llvmpipe where available.José Fonseca
2009-09-16llvmpipe: Make the code portable for MinGW.José Fonseca
2009-09-15st/xorg: fixing copies and composite shadersZack Rusin
copies were busted when src == dst. also the composite shaders were incorrectly using the fragments instead of the texture coordinate.
2009-09-15st/xorg: lots of fixesZack Rusin
fixes blending binding and copy coordinates
2009-09-15st/xorg: Brian suggested that those could be mad'sZack Rusin
optimizes the common paths
2009-09-15nv50: avoid excessive FIRE_RINGMaarten Maathuis
- And reduce RING_SPACE to 2, instead of 3.
2009-09-15nv50: use flush_notify to reduce number of relocsMaarten Maathuis
2009-09-15st/xorg: Only unreference texture on pixmap destruction, don't destroy it.Michel Dänzer
Fixes memory corruption if e.g. the driver still has references to the texture.
2009-09-15st/xorg: Explicitly check whether the driver supports the pixmap formats.Michel Dänzer
Rather than arbitrarily checking for pixmap depth < 15.
2009-09-15st/xorg: Use A8 format for depth 8 pixmaps.Michel Dänzer
The inconsistent bpp caused issues with UploadTo/DownloadFromScreen.
2009-09-15Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-15gallium: Use the enum for pipe_transfer::usage.José Fonseca
2009-09-15gallium: pipe_transfer_destroy helper inline.José Fonseca
2009-09-15nv50: fix stupid thinko in emit_setChristoph Bumiller
When swapping sources 0 and 1, EQ of course does *not* become NE, etc. Introduced in 2b963f5c723401aa2646bd48eefe065cd335e280.
2009-09-15gallium: Fix pointer type casts.Michal Krol
2009-09-15nv50: let programs use the whole param bufferChristoph Bumiller
Allocation is unnecessary since all uniforms are uploaded on every constant buffer change anyway.
2009-09-15nv50: add preliminary support for point spritesChristoph Bumiller
2009-09-15nv50: add support for point size per vertexChristoph Bumiller
2009-09-15nv50: add support for light-twosideChristoph Bumiller
2009-09-15nv50: proper linkage between VP and FPChristoph Bumiller
This moves construction of the mapping between VP outputs and FP inputs into validation. The map also contains slots for special outputs like clip distance and point size, so we need to at least merge the VP related and FP related parts on validation if we want to support those. Now we match every single FP input component with results from the VP and leave those not read out of the map, or replace those not written by 0 (xyz) or 1 (w). The bitmap indicating linear interpolants is also filled, and flat FP inputs are mapped in only after non-flat ones, as is required. Furthermore, we can save some space by only fetching VP attrs we actually use, and avoid wasting any output regs because of TGSI using less than 4 components.
2009-09-15nv50: move allocation of pc regsChristoph Bumiller
Make use of tgsi_shader_info to determine how many nv50_regs we need to allocate, whether program uses KIL, or writes DEPR.
2009-09-15nv50: nicer initialization of nv50_regsChristoph Bumiller
2009-09-15nv50: handle CEIL and TRUNC opcodesChristoph Bumiller
2009-09-15nv50: handle SEQ, SGT, SLE, SNE opcodesChristoph Bumiller
2009-09-15nv50: SIN and COS use src0.w for dst.wChristoph Bumiller
2009-09-15nv50: use broadcast TEMP reg in tx_insnChristoph Bumiller
Makes some opcode cases nicer and might reduce the total nr of TEMPs required, or save some MOVs.
2009-09-15nv50: add nv50_tgsi_insn to handle swizzles safelyChristoph Bumiller
2009-09-15nv50: add functions for swizzle resolutionChristoph Bumiller
We're going to try to reorder the scalar ops of a vector instr to accomodate swizzles that would otherwise require us to emit to an additional TEMP first (like MOV R0.xy, R0.zx).
2009-09-15nv50: extend insn src mask functionChristoph Bumiller
Extend its usage to avoiding e.g. emission of negation instructions in tx_insn for sources we don't need.
2009-09-15st/g3dvl: pass color values to softpipe clear functionCooper Yuan
2009-09-14st/xorg: add some debugging helpersZack Rusin
2009-09-14st/xorg: fix ureg_DECL_constant() parametersBrian Paul
This fixes the compilation errors reported in bug 23945 but someone more familiar with the code should review for correctness and close the bug report.
2009-09-14gallium: Add pipe_transfer_map/unmap inlines.José Fonseca
2009-09-14util: Add _BitScanForward intrinsic's declaration.José Fonseca
It is missing in some Microsoft DDKs.
2009-09-14gallium: Add Mac OS to pipe/p_thread.h.Vinson Lee
Mac OS also has POSIX threads.
2009-09-14nv50: Fix m2mf positions.Marcin Kościelnicki
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-14util: Fix a1r5g5b5's format description.José Fonseca
2009-09-14g3dvl: update tgsi_opcode in order to build g3dvl libraryCooper Yuan
2009-09-13tgsi: handle some src/dst aliasing in tgsi_sse2.cKeith Whitwell
Src/Dst aliasing (aka SOA dependencies) requires some care to ensure intermediate results do not overwrite yet-to-be read source registers. This change ensures that MOV/SWZ handle this correctly, which is poor but no worse than the current tgsi_exec.c path. Remove the fallback as there is nothing to be gained correctness-wise between the two implementations now. Fixing this properly looks like a bit of work in this code, but might be easily achieved by sending destination writes to temporary storage.
2009-09-13llvmpipe: Compute derivatives.José Fonseca
2009-09-13llvmpipe: Remove dead references to pipe_winsys.José Fonseca