Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: avoid extraneous _NEW_BUFFER state in _mesa_drawbuffers() | Brian Paul | 2009-11-03 | 1 | -9/+29 |
| | |||||
* | mesa: use ffs() to shorten loop in _mesa_drawbuffers() | Brian Paul | 2009-11-03 | 1 | -6/+10 |
| | |||||
* | mesa: added assertion, another comment | Brian Paul | 2009-11-03 | 1 | -1/+3 |
| | |||||
* | intel: avoid unnecessary front buffer flushing/updating | Brian Paul | 2009-11-03 | 5 | -2/+27 |
| | | | | | | | | | | | Before, if we just called glXMakeCurrent() and didn't render anything we'd still trigger a flushFrontBuffer() call. Now only set the intel->front_buffer_dirty field at state validation time just before we draw something. NOTE: additional calls to intel_check_front_buffer_rendering() might be needed if I missed some rendering paths. | ||||
* | mesa: added comment | Brian Paul | 2009-11-02 | 1 | -0/+2 |
| | |||||
* | mesa: use _mesa_get_current_tex_object() | Brian Paul | 2009-11-02 | 1 | -6/+2 |
| | |||||
* | mesa: use _mesa_get_current_tex_object() | Brian Paul | 2009-11-02 | 1 | -13/+4 |
| | |||||
* | mesa: make _mesa_get_current_tex_objec() public | Brian Paul | 2009-11-02 | 2 | -31/+33 |
| | |||||
* | ARB prog parser: Fix a couple issues with previous merge from mesa_7_6_branch | Ian Romanick | 2009-11-02 | 2 | -190/+200 |
| | | | | | | | | 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. | ||||
* | r600: implement LOG op in compiler | Pierre Ossman | 2009-11-02 | 2 | -3/+214 |
| | |||||
* | r600: implement EXP op in compiler | Pierre Ossman | 2009-11-02 | 2 | -3/+130 |
| | |||||
* | tgsi/ureg: Add negate and swizzle for predicates. | Michal Krol | 2009-11-02 | 2 | -22/+208 |
| | |||||
* | mesa: fix incorrect approx bits/channel for fxt1 formats | Brian Paul | 2009-11-02 | 1 | -2/+2 |
| | | | | See bug 24806. | ||||
* | gallium/util: add casts to silence warnings | Brian Paul | 2009-11-02 | 1 | -3/+3 |
| | |||||
* | tgsi/ureg: Update for gallium interface changes. | Michal Krol | 2009-11-02 | 2 | -22/+69 |
| | |||||
* | tgsi: Update for gallium interface changes. | Michal Krol | 2009-11-02 | 10 | -542/+137 |
| | |||||
* | gallium: Cleanup predicate and condition code TGSI tokens. | Michal Krol | 2009-11-02 | 2 | -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 Krol | 2009-11-02 | 1 | -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 Manton | 2009-11-01 | 3 | -2/+7 |
| | |||||
* | r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc. | Corbin Simpson | 2009-11-01 | 5 | -14/+28 |
| | | | | Cleared out my git stash. | ||||
* | r300g: fix geometry corruptions | Maciej Cencora | 2009-11-01 | 1 | -2/+14 |
| | | | | PVS flush is needed before changing the vertex shader or vertex shader constants. | ||||
* | r300g: split constant buffer and shader emittion | Maciej Cencora | 2009-11-01 | 5 | -98/+152 |
| | |||||
* | r300g: Adopt osiris' PSC data and swizzle. | Corbin Simpson | 2009-11-01 | 1 | -40/+88 |
| | | | | A fair amount more flexible and easier to maintain. | ||||
* | nv50: handle TGSI_SEMANTIC_FACE | Christoph Bumiller | 2009-11-01 | 1 | -0/+25 |
| | |||||
* | nv50: make IF condition safe | Christoph Bumiller | 2009-11-01 | 1 | -1/+3 |
| | | | | | Don't assume that a SET that writes to IF's argument directly precedes the IF. | ||||
* | nv50: implement TGSI_OPCODE_AND/OR/XOR | Christoph Bumiller | 2009-11-01 | 1 | -0/+47 |
| | | | | | Will use AND for gl_FrontFacing, the face input is either 0 or 0xffffffff. | ||||
* | nv50: fix textures with block size != cpp | Christoph Bumiller | 2009-10-31 | 2 | -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 Manton | 2009-10-31 | 7 | -0/+15 |
| | |||||
* | nv50: use SIFC also for shader upload | Christoph Bumiller | 2009-10-31 | 3 | -56/+120 |
| | | | | Adds a more generic SIFC transfer function. | ||||
* | nv50: make MRTs work | Christoph Bumiller | 2009-10-31 | 2 | -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. | ||||
* | radeon: add missing include | Dave Airlie | 2009-10-31 | 1 | -0/+1 |
| | |||||
* | r300g: correct the pitch calculation for smaller mipmaps | Marek Olšák | 2009-10-31 | 2 | -7/+2 |
| | |||||
* | r300g: pretend NPOT support | Marek Olšák | 2009-10-31 | 1 | -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 blending | Marek Olšák | 2009-10-31 | 1 | -0/+2 |
| | |||||
* | r300g: add precalculating of pixel pitch, add a new NPOT flag | Marek Olšák | 2009-10-31 | 3 | -17/+42 |
| | |||||
* | r300g: remove unnecessary assertions | Marek Olšák | 2009-10-31 | 2 | -5/+2 |
| | | | | Also, correct typos in comments. | ||||
* | r300g: fix crash in r300_is_texture_referenced | Marek Olšák | 2009-10-31 | 2 | -2/+2 |
| | | | | Also, a subtle fix in emitting a texture state | ||||
* | radeon: use _mesa_get_current_tex_unit | Dave Airlie | 2009-10-31 | 1 | -1/+1 |
| | |||||
* | ARB prog parser: regenerated files | Brian Paul | 2009-10-30 | 2 | -294/+321 |
| | |||||
* | ARB prog parser: new set_src_reg(), set_dst_reg() helpers | Brian Paul | 2009-10-30 | 1 | -28/+55 |
| | | | | These functions do sanity checks on the register file and index. | ||||
* | mesa: better error message | Brian Paul | 2009-10-30 | 1 | -2/+2 |
| | |||||
* | intel: Use GTT mapping when available for swrast. | Eric Anholt | 2009-10-30 | 3 | -1/+88 |
| | | | | | | | 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). | ||||
* | x86: Fix the test for negative pixel count in optimized rgb565 spans. | Eric Anholt | 2009-10-30 | 1 | -1/+1 |
| | | | | | There's a bunch of bogus looking stuff the count handling in this code, but this fixes the testcases we have. | ||||
* | intel: Fix up z24_x8 depth spans since the texformat merge. | Eric Anholt | 2009-10-30 | 1 | -12/+6 |
| | |||||
* | i965: Add an index assert on get_fp_inst array like other compiler arrays. | Eric Anholt | 2009-10-30 | 1 | -0/+1 |
| | |||||
* | i965: Fix BRW_WM_MAX_INSN to reflect current limits. | Eric Anholt | 2009-10-30 | 1 | -2/+1 |
| | | | | Part of fixing bug #24355. | ||||
* | intel: Set the texture format in the TFP path. | Eric Anholt | 2009-10-30 | 1 | -3/+6 |
| | | | | | | | | | | | | 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 | ||||
* | r600: remove duplicate line | Alex Deucher | 2009-10-30 | 1 | -1/+0 |
| | |||||
* | r600: fill in some missing tex formats | Alex Deucher | 2009-10-30 | 1 | -0/+46 |
| | | | | | | | | | 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 <[email protected]> | ||||
* | r600: fix a warning, update comments | Alex Deucher | 2009-10-30 | 1 | -3/+3 |
| |