summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_6_branch'Ian Romanick2009-09-151-0/+28
|\
| * Merge commit 'origin/mesa_7_5_branch' into mesa_7_6_branchIan Romanick2009-09-151-0/+28
| |\
| | * GLX: Complain when buggy applications call GLX 1.3 functions.Ian Romanick2009-09-151-0/+28
| | |
* | | st/xorg: Brian suggested that those could be mad'sZack Rusin2009-09-151-4/+2
| | | | | | | | | | | | optimizes the common paths
* | | mesa: remove incorrect texture state checkBrian Paul2009-09-151-6/+0
| | | | | | | | | | | | | | | | | | | | | 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.
* | | nv50: avoid excessive FIRE_RINGMaarten Maathuis2009-09-151-2/+3
| | | | | | | | | | | | - And reduce RING_SPACE to 2, instead of 3.
* | | nv50: use flush_notify to reduce number of relocsMaarten Maathuis2009-09-153-0/+10
| | |
* | | st/xorg: Only unreference texture on pixmap destruction, don't destroy it.Michel Dänzer2009-09-151-4/+1
| | | | | | | | | | | | Fixes memory corruption if e.g. the driver still has references to the texture.
* | | st/xorg: Explicitly check whether the driver supports the pixmap formats.Michel Dänzer2009-09-151-6/+13
| | | | | | | | | | | | Rather than arbitrarily checking for pixmap depth < 15.
* | | st/xorg: Use A8 format for depth 8 pixmaps.Michel Dänzer2009-09-151-0/+3
| | | | | | | | | | | | The inconsistent bpp caused issues with UploadTo/DownloadFromScreen.
* | | st/mesa: disable accidentally committed _mesa_print_program() callBrian Paul2009-09-151-1/+1
| | |
* | | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-1514-10/+87
|\| |
| * | Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-157-4/+56
| |\|
| | * progs/vp: print program and error info when program does not compileBrian Paul2009-09-141-0/+6
| | |
| | * glsl: added some link debug code (disabled)Brian Paul2009-09-141-0/+15
| | |
| | * docs: document linker/preprocessor bug fixBrian Paul2009-09-141-0/+2
| | |
| | * glsl: remove extra #version directives from concatenated shader sourcesBrian Paul2009-09-141-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * configure: fix commentThierry Vignaud2009-09-141-1/+1
| | |
| | * Use CFLAGS as HOST_CFLAGS by defaultDan Nicholson2009-09-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Unless we're cross compiling, the HOST_CFLAGS should be the same as the normal CFLAGS. This allows the x86 and x86_64 asm to be built correctly with a native compiler using -m32/-m64. Signed-off-by: Dan Nicholson <[email protected]>
| | * mesa: raise GL_INVALID_ENUM not GL_INVALID_VALUE for glTexParamter errorsVinson Lee2009-09-111-3/+3
| | | | | | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * | gl: restore some PFNGL typedefsBrian Paul2009-09-151-0/+15
| | | | | | | | | | | | | | | | | | | | | Commit d33c315d9e32584dea12cea683795b498a9f5eca removed a few too many typedefs. We need the typedefs in glext.h which are protected by #ifdef GL_VERSION_1_2 but we can exclude the ones protected by GL_VERSION_1_2_DEPRECATED.
| * | gallium: Add Mac OS to pipe/p_thread.h.Vinson Lee2009-09-141-5/+5
| | | | | | | | | | | | Mac OS also has POSIX threads.
| * | docs: mention the new Gallium llvmpipe driverBrian Paul2009-09-111-0/+4
| | |
| * | llvmpipe: asst fixes for 'make linux-llvmpipe'Brian Paul2009-09-113-0/+6
| | |
| * | radeon: Remove structure allocation from iterator variable.Pauli Nieminen2009-09-111-1/+1
| | | | | | | | | | | | | | | dma_bo varaible is only used for iterating so allocating memory for it only causes memory leaks.
* | | ARB prog parser: regenerated fileBrian Paul2009-09-151-193/+197
| | |
* | | ARB prog parser: more detailed error message for out of bounds ADDR offsetsBrian Paul2009-09-151-4/+8
| | |
* | | r600: support position_invariant programsAndre Maasikas2009-09-151-12/+18
| | |
* | | gallium: Use the enum for pipe_transfer::usage.José Fonseca2009-09-151-1/+1
| | |
* | | gallium: pipe_transfer_destroy helper inline.José Fonseca2009-09-151-0/+7
| | |
* | | nv50: fix stupid thinko in emit_setChristoph Bumiller2009-09-151-1/+3
| | | | | | | | | | | | | | | | | | | | | When swapping sources 0 and 1, EQ of course does *not* become NE, etc. Introduced in 2b963f5c723401aa2646bd48eefe065cd335e280.
* | | gallium: Fix pointer type casts.Michal Krol2009-09-151-4/+4
| | |
* | | nv50: let programs use the whole param bufferChristoph Bumiller2009-09-152-43/+29
| | | | | | | | | | | | | | | Allocation is unnecessary since all uniforms are uploaded on every constant buffer change anyway.
* | | nv50: add preliminary support for point spritesChristoph Bumiller2009-09-153-2/+58
| | |
* | | nv50: add support for point size per vertexChristoph Bumiller2009-09-152-0/+15
| | |
* | | nv50: add support for light-twosideChristoph Bumiller2009-09-152-0/+22
| | |
* | | nv50: proper linkage between VP and FPChristoph Bumiller2009-09-154-161/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | nv50: move allocation of pc regsChristoph Bumiller2009-09-151-155/+129
| | | | | | | | | | | | | | | Make use of tgsi_shader_info to determine how many nv50_regs we need to allocate, whether program uses KIL, or writes DEPR.
* | | nv50: nicer initialization of nv50_regsChristoph Bumiller2009-09-151-51/+42
| | |
* | | nv50: handle CEIL and TRUNC opcodesChristoph Bumiller2009-09-151-0/+16
| | |
* | | nv50: handle SEQ, SGT, SLE, SNE opcodesChristoph Bumiller2009-09-151-30/+61
| | |
* | | nv50: SIN and COS use src0.w for dst.wChristoph Bumiller2009-09-151-16/+20
| | |
* | | nv50: use broadcast TEMP reg in tx_insnChristoph Bumiller2009-09-151-60/+28
| | | | | | | | | | | | | | | Makes some opcode cases nicer and might reduce the total nr of TEMPs required, or save some MOVs.
* | | nv50: add nv50_tgsi_insn to handle swizzles safelyChristoph Bumiller2009-09-151-19/+128
| | |
* | | nv50: add functions for swizzle resolutionChristoph Bumiller2009-09-151-30/+118
| | | | | | | | | | | | | | | | | | 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).
* | | nv50: extend insn src mask functionChristoph Bumiller2009-09-151-46/+72
| | | | | | | | | | | | | | | Extend its usage to avoiding e.g. emission of negation instructions in tx_insn for sources we don't need.
* | | st/g3dvl: pass color values to softpipe clear functionCooper Yuan2009-09-152-2/+9
| | |
* | | xvmc: Generate new resource ID in _XIDHandler, otherwise it's invalid.Cooper Yuan2009-09-153-1/+10
| | |
* | | st/xorg: add some debugging helpersZack Rusin2009-09-142-14/+33
| | |
* | | r600: add span support for 1D tilesAlex Deucher2009-09-143-1/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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*