summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* gallium/util: add casts to silence warningsBrian Paul2009-11-021-3/+3
|
* tgsi/ureg: Update for gallium interface changes.Michal Krol2009-11-022-22/+69
|
* tgsi: Update for gallium interface changes.Michal Krol2009-11-0210-542/+137
|
* gallium: Cleanup predicate and condition code TGSI tokens.Michal Krol2009-11-022-99/+20
| | | | | | | | | | | | | | | | | | There is little point in having a special TGSI token just to handle predicate register updates. Remove tgsi_dst_register_ext_predicate token and instead use a new PREDICATE register file to update predicates. Actually, the contents of the obsolete token are being moved to tgsi_instruction_ext_predicate, where they should be from the very beginning. Remove the NVIDIA-specific condition code tokens -- nobody uses them and they can be emulated with predicates if needed. Introduce PIPE_CAP_SM3 that indicates whether a driver supports SM3-level instructions, and in particular predicates. Add PIPE_CAP_MAX_PREDICATE_REGISTERS that can be used to query the driver how many predicate registers it supports (currently it would be 1).
* softpipe: Sanitise shader semantic and interpolator handling.Michal Krol2009-11-021-24/+10
| | | | | Handle the remaining semantic names and indices. Respect color interpolator when not flatshading.
* nouveau: Assume all texture blankets are linear for now.Younes Manton2009-11-013-2/+7
|
* r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc.Corbin Simpson2009-11-015-14/+28
| | | | Cleared out my git stash.
* r300g: fix geometry corruptionsMaciej Cencora2009-11-011-2/+14
| | | | PVS flush is needed before changing the vertex shader or vertex shader constants.
* r300g: split constant buffer and shader emittionMaciej Cencora2009-11-015-98/+152
|
* r300g: Adopt osiris' PSC data and swizzle.Corbin Simpson2009-11-011-40/+88
| | | | A fair amount more flexible and easier to maintain.
* nv50: handle TGSI_SEMANTIC_FACEChristoph Bumiller2009-11-011-0/+25
|
* nv50: make IF condition safeChristoph Bumiller2009-11-011-1/+3
| | | | | Don't assume that a SET that writes to IF's argument directly precedes the IF.
* nv50: implement TGSI_OPCODE_AND/OR/XORChristoph Bumiller2009-11-011-0/+47
| | | | | Will use AND for gl_FrontFacing, the face input is either 0 or 0xffffffff.
* nv50: fix textures with block size != cppChristoph Bumiller2009-10-312-37/+48
| | | | | | | | | | | First, using width * block size as pitch is evidently wrong if a block contains more than 1 texel. For tiled textures, since a block occupies a contiguous area of memory, y addressing in m2mf has to be done by block index, not the y coordinate itself. This should fix compressed textures.
* nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40.Younes Manton2009-10-317-0/+15
|
* nv50: use SIFC also for shader uploadChristoph Bumiller2009-10-313-56/+120
| | | | Adds a more generic SIFC transfer function.
* nv50: make MRTs workChristoph Bumiller2009-10-312-0/+15
| | | | | | | We have to indicate to the hw whether the FP exports multiple colour results. Method 0x121c is used to specify the number of RTs. Also deactivate zeta explicitly if there's no zsbuf.
* r300g: correct the pitch calculation for smaller mipmapsMarek Olšák2009-10-312-7/+2
|
* r300g: pretend NPOT supportMarek Olšák2009-10-311-1/+3
| | | | | It's requires to get GL2.1, therefore, much more piglit tests can be used for testing. Figure out later how to emulate this.
* r300g: fix reading from the destination buffer in blendingMarek Olšák2009-10-311-0/+2
|
* r300g: add precalculating of pixel pitch, add a new NPOT flagMarek Olšák2009-10-313-17/+42
|
* r300g: remove unnecessary assertionsMarek Olšák2009-10-312-5/+2
| | | | Also, correct typos in comments.
* r300g: fix crash in r300_is_texture_referencedMarek Olšák2009-10-312-2/+2
| | | | Also, a subtle fix in emitting a texture state
* softpipe: Respect gl_rasterization_rules in primitive setup.Michal Krol2009-10-301-14/+26
|
* st/xorg: fix scaling ov xv data, plus some cleanupsZack Rusin2009-10-293-28/+57
|
* r300g: Fix bytes_per_line calculation error while displaying surfaceCooper Yuan2009-10-291-1/+1
|
* st/xorg: fix src coordinates in the video acceleration pathsZack Rusin2009-10-281-1/+1
|
* r300g: Use u_trim_pipe_prim to prevent lockups from incorrect vert counts.Corbin Simpson2009-10-281-0/+9
| | | | Adapted from osiris' version on his tree.
* r300g: Keep texture formats organized.Corbin Simpson2009-10-281-6/+5
|
* r300g: add some texture formatsMaciej Cencora2009-10-282-0/+9
|
* r300g: Clear up a bit of the buffer reference stuff.Corbin Simpson2009-10-281-14/+11
| | | | | Still need to actually get reference info from winsys somehow. Doing added buffers is easy, but knowing whether a flush has happened is a bit tricky.
* r300g: Fix XXX.Corbin Simpson2009-10-281-1/+0
| | | | Nothing strange here.
* r300g: fix emitting the stencil-ref and alpha-ref valuesMarek Olšák2009-10-283-11/+31
| | | | | | Signed-off-by: Corbin Simpson <[email protected]> DSA really needs its head examined someday. ~ C.
* r300g: fix the WRAP_T mode when using 1D texturesMarek Olšák2009-10-281-1/+8
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g: fix blending and do some optimizationsMarek Olšák2009-10-282-48/+54
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* llvmpipe: Make sure the JIT engine and X86 target are linked on MSVC build.José Fonseca2009-10-286-4/+118
| | | | | Basically mimic the llvm 2.6 way of linking execution engines and targets.
* util: Drop return value from cpuid().José Fonseca2009-10-281-10/+6
|
* util: Fix cpuid on MSVC.José Fonseca2009-10-281-1/+5
|
* llvmpipe: Implement round() for MSVC.José Fonseca2009-10-281-0/+12
|
* st/xorg: fix xvZack Rusin2009-10-273-9/+21
|
* draw: Fix memory leak.Vinson Lee2009-10-271-0/+2
| | | | This would only be hit if we got and invalid index_size.
* nv50: activate more lanes in a warpChristoph Bumiller2009-10-281-0/+4
| | | | | | | | Some cards have crippling defaults set and use only 4 of 32 lanes. This should activate 16 on these. Those that allow 32 by default should still do so. Found out by Marcin Kościelnicki.
* st/xorg: Adopt to new dirty clip rect typeJakob Bornecrantz2009-10-271-4/+5
|
* st/xorg: initialize indexes before reswizzling for yuvZack Rusin2009-10-261-0/+2
|
* st/xorg: stop overflowing yuv buffersZack Rusin2009-10-262-20/+37
|
* st/xorg: add yuv vertex shaderZack Rusin2009-10-265-33/+200
| | | | plus some general fixes
* st/xorg: add yuv shadersZack Rusin2009-10-263-16/+83
|
* r300g: read occlusion query results from both Z pipes on RV530Marek Olšák2009-10-261-2/+8
|
* r300g: add cubemap supportMarek Olšák2009-10-262-24/+37
| | | | Also, set a pitch for rectangles only.
* gallium: Move enum pipe_error into p_defines.h.José Fonseca2009-10-2512-75/+26
| | | | It's really just another define. No need for its own header.