summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-11-03st/mesa: fix tests for depth and depth/stencil texture formatsBrian Paul
2009-11-02mesa: added commentBrian Paul
2009-11-02mesa: use _mesa_get_current_tex_object()Brian Paul
2009-11-02mesa: use _mesa_get_current_tex_object()Brian Paul
2009-11-02mesa: make _mesa_get_current_tex_objec() publicBrian Paul
2009-11-02ARB prog parser: Fix a couple issues with previous merge from mesa_7_6_branchIan Romanick
Since the addition of support for Nvidia condition codes, the lexer internally uses handle_ident to select between returning IDENTIFIER and USED_IDENTIFIER. Also, use return_string instead of strdup. Fixes bug #24809.
2009-11-02glx: Fix memory leak if XF86DRICreateDrawable() failsVinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-02r600: implement LOG op in compilerPierre Ossman
2009-11-02r600: implement EXP op in compilerPierre Ossman
2009-11-02tgsi/ureg: Add negate and swizzle for predicates.Michal Krol
2009-11-02mesa: fix incorrect approx bits/channel for fxt1 formatsBrian Paul
See bug 24806.
2009-11-02gallium/util: add casts to silence warningsBrian Paul
2009-11-02tgsi/ureg: Update for gallium interface changes.Michal Krol
2009-11-02tgsi: Update for gallium interface changes.Michal Krol
2009-11-02gallium: Cleanup predicate and condition code TGSI tokens.Michal Krol
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).
2009-11-02softpipe: Sanitise shader semantic and interpolator handling.Michal Krol
Handle the remaining semantic names and indices. Respect color interpolator when not flatshading.
2009-11-01nouveau: Assume all texture blankets are linear for now.Younes Manton
2009-11-01r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc.Corbin Simpson
Cleared out my git stash.
2009-11-01r300g: fix geometry corruptionsMaciej Cencora
PVS flush is needed before changing the vertex shader or vertex shader constants.
2009-11-01r300g: split constant buffer and shader emittionMaciej Cencora
2009-11-01r300g: Adopt osiris' PSC data and swizzle.Corbin Simpson
A fair amount more flexible and easier to maintain.
2009-11-01nv50: handle TGSI_SEMANTIC_FACEChristoph Bumiller
2009-11-01nv50: make IF condition safeChristoph Bumiller
Don't assume that a SET that writes to IF's argument directly precedes the IF.
2009-11-01nv50: implement TGSI_OPCODE_AND/OR/XORChristoph Bumiller
Will use AND for gl_FrontFacing, the face input is either 0 or 0xffffffff.
2009-10-31nv50: fix textures with block size != cppChristoph Bumiller
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.
2009-10-31nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40.Younes Manton
2009-10-31nv50: use SIFC also for shader uploadChristoph Bumiller
Adds a more generic SIFC transfer function.
2009-10-31nv50: make MRTs workChristoph Bumiller
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.
2009-10-31radeon: add missing includeDave Airlie
2009-10-31r300g: correct the pitch calculation for smaller mipmapsMarek Olšák
2009-10-31r300g: pretend NPOT supportMarek Olšák
It's requires to get GL2.1, therefore, much more piglit tests can be used for testing. Figure out later how to emulate this.
2009-10-31r300g: fix reading from the destination buffer in blendingMarek Olšák
2009-10-31r300g: add precalculating of pixel pitch, add a new NPOT flagMarek Olšák
2009-10-31r300g: remove unnecessary assertionsMarek Olšák
Also, correct typos in comments.
2009-10-31r300g: fix crash in r300_is_texture_referencedMarek Olšák
Also, a subtle fix in emitting a texture state
2009-10-31radeon: use _mesa_get_current_tex_unitDave Airlie
2009-10-30ARB prog parser: regenerated filesBrian Paul
2009-10-30ARB prog parser: new set_src_reg(), set_dst_reg() helpersBrian Paul
These functions do sanity checks on the register file and index.
2009-10-30mesa: better error messageBrian Paul
2009-10-30intel: Use GTT mapping when available for swrast.Eric Anholt
This improves piglit quick.tests runtime from 19:33 minutes to 6:06 on my GM45. It should also hide most of the A17 swizzling issues, though they'll still exist when swapping occurs (which is the kernel's problem either way).
2009-10-30x86: Fix the test for negative pixel count in optimized rgb565 spans.Eric Anholt
There's a bunch of bogus looking stuff the count handling in this code, but this fixes the testcases we have.
2009-10-30intel: Fix up z24_x8 depth spans since the texformat merge.Eric Anholt
2009-10-30i965: Add an index assert on get_fp_inst array like other compiler arrays.Eric Anholt
2009-10-30i965: Fix BRW_WM_MAX_INSN to reflect current limits.Eric Anholt
Part of fixing bug #24355.
2009-10-30intel: Set the texture format in the TFP path.Eric Anholt
This fixes a regression in piglit's tfp test as of 11caea687e3f10ae12d33e44edf84635f73047dd. Additionally, set the texture format for the RGB textures to MESA_FORMAT_XRGB8888 and support it in the hw paths so that hopefully sw fallbacks involving TFP get better alpha behavior. The radeon drivers appear to need the same fix. Bug #24803
2009-10-30r600: remove duplicate lineAlex Deucher
2009-10-30r600: fill in some missing tex formatsAlex Deucher
This improves shadowtex since the component ordering is at least correct now, but I'm not sure how to deal with texturing from a depth surface yet due to differences in depth and color tile layouts. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-30r600: fix a warning, update commentsAlex Deucher
2009-10-30r600: use AUTO_INDEX for draw - saves cmd buffer spaceAndre Maasikas
also seems we can use INDX_OFFSET if start != 0
2009-10-30intel: fix up some XRGB breakageBrian Paul
We weren't choosing the right XRGB span functions for reading the framebuffer. XRGB formats still aren't turned on yet though.