summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-15mesa: added GL_ARB_provoking_vertex (same as EXT version)Brian Paul
2009-09-15radeon: don't build non-r600 span code on r600Alex Deucher
2009-09-15r600: minor span cleanupsAlex Deucher
2009-09-15Merge branch 'mesa_7_6_branch'Ian Romanick
2009-09-15Merge commit 'origin/mesa_7_5_branch' into mesa_7_6_branchIan Romanick
2009-09-15GLX: Complain when buggy applications call GLX 1.3 functions.Ian Romanick
2009-09-15st/xorg: Brian suggested that those could be mad'sZack Rusin
optimizes the common paths
2009-09-15mesa: remove incorrect texture state checkBrian Paul
Fixes incorrectly textured bitmap text in engine demo. It's incorrect to test the texture enable bits here since they may have been changed by disabling the shader above. Optimization is still possible but will have to be reexamined.
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-15st/mesa: disable accidentally committed _mesa_print_program() callBrian Paul
2009-09-15Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-15Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-15ARB prog parser: regenerated fileBrian Paul
2009-09-15ARB prog parser: more detailed error message for out of bounds ADDR offsetsBrian Paul
2009-09-15r600: support position_invariant programsAndre Maasikas
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-15xvmc: Generate new resource ID in _XIDHandler, otherwise it's invalid.Cooper Yuan
2009-09-14glsl: added some link debug code (disabled)Brian Paul
2009-09-14glsl: remove extra #version directives from concatenated shader sourcesBrian Paul
When we concatenate shaders to do our form of poor-man linking, if there's multiple #version directives, preprocessing fails. This change disables the extra #version directives by changing the first two chars to //. This should help with some Wine issues such as bug 23946.
2009-09-14st/xorg: add some debugging helpersZack Rusin
2009-09-14r600: add span support for 1D tilesAlex Deucher
1D tile span support for depth/stencil/color/textures Z and stencil buffers are always tiled, so this fixes sw access to Z and stencil buffers. color and textures are currently linear, but this adds span support when we implement 1D tiling. This fixes the text in progs/demos/engine and progs/tests/z*
2009-09-14r600: fix warningAlex Deucher
Noticed by rnoland on IRC.
2009-09-14st/mesa: minor whitespace, comment clean-upsBrian Paul
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.