summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r600: move full state to radeon state atomsAlex Deucher2009-08-229-192/+262
|
* r600: add support for RS880Alex Deucher2009-08-225-0/+19
|
* i965: Implement frag prog DPH like DP4Ian Romanick2009-08-221-3/+5
| | | | | DPH can output to any component, not just to X. This allows fpalu.c to run without hitting the assertion in emit_dph.
* st/dri: Remove some debug printsJakob Bornecrantz2009-08-221-6/+0
|
* st/dri: Find out if the drawable is a pixmapJakob Bornecrantz2009-08-222-0/+39
| | | | | | | | | Part of this code is disabled since no performance gains where detected with it enabled. This code only detects if it is a pixmap that it is rendering to on the st/xorg DDX since it sets the fake front to the same handle as front.
* st/dri: Fix frontbuffer rendering with DRI2Jakob Bornecrantz2009-08-221-15/+15
|
* st/xorg: Handle fake fronts correctly for pixmapsJakob Bornecrantz2009-08-221-0/+46
|
* i915g: Remove bad assert on fenceJakob Bornecrantz2009-08-221-3/+0
|
* glx/dri2: Always use X drawable ID for DRI2 protocol.Michel Dänzer2009-08-221-5/+5
| | | | Fixes protocol errors in cases where the GLX ID is different.
* Fix r300 VBO support build on big endian.Michel Dänzer2009-08-221-3/+3
|
* r600: better default state size.Alex Deucher2009-08-213-9/+15
| | | | | Hopefully suokko's emit size impovements will land soon.
* Merge branch 'asm-shader-rework-1'Ian Romanick2009-08-2122-8084/+13341
|\
| * ARB prog parser: Revert part of previous change to constant parsingIan Romanick2009-08-202-16/+16
| | | | | | | | | | | | The commit "ARP prog parser: Implement the spec, not what makes sense" broke the parsing of scalar constants. This commit reverts that part of that commit. Now vp_swizzle.c passes.
| * Merge branch 'master' into asm-shader-rework-1Ian Romanick2009-08-18616-20929/+31483
| |\ | | | | | | | | | | | | Conflicts: src/mesa/shader/arbprogparse.c
| * | ARB prog parser: Delete the old parserIan Romanick2009-08-183-8035/+0
| | |
| * | ARB prog: Revert some changes to debug outputIan Romanick2009-08-181-3/+1
| | |
| * | ARB prog parser: Add support for RGBA components to SWZ instruction in fpIan Romanick2009-07-303-273/+398
| | |
| * | ARB prog parser: Prevent NULL ptr deref for KIL instructionIan Romanick2009-07-302-2/+18
| | | | | | | | | | | | | | | The KIL instruction doesn't have a destination register, so dereferencing dst in asm_instruction_ctor would cause a segfault.
| * | ARP prog parser: Implement the spec, not what makes senseIan Romanick2009-07-292-71/+89
| | |
| * | ARB prog parser: Get program limits from the contextIan Romanick2009-07-292-48/+6
| | | | | | | | | | | | | | | Some debug code from the older stand-alone version of the assembler was hanging around and needed to go.
| * | ARB prog lexer: attenuation is not just for vpIan Romanick2009-07-292-2/+2
| | |
| * | ARB prog parser: Finish implementing fp state.depth.rangeIan Romanick2009-07-292-566/+594
| | |
| * | ARB prog: Fix the order of swizzle applicationIan Romanick2009-07-291-1/+1
| | | | | | | | | | | | | | | | | | The swizzle used to generate the "original" value from the value stored in the parameter array happens before the swizzle specified in the instruction. This fixes problems seen in progs/vp/vp-tris with arl-*.txt.
| * | Indentation fixes.Ian Romanick2009-07-292-16/+16
| | |
| * | ARB prog parser: Set NumAttributes based on the number of attribs readIan Romanick2009-07-292-0/+2
| | |
| * | ARB prog parser: Set component negation mask for SWZ instructionIan Romanick2009-07-282-210/+212
| | |
| * | ARB prog parser: Set correct register file for OUTPUT variablesIan Romanick2009-07-282-199/+213
| | |
| * | ARB prog parser: Add support for GL_MESA_texture_arrayIan Romanick2009-07-277-1464/+1560
| | | | | | | | | | | | This isn't really tested yet as no drivers actually support this extension.
| * | ARB prog parser: More robust error message for bad OPTION stringIan Romanick2009-07-272-236/+244
| | |
| * | ARB prog parser: Add support for GL_ARB_fragment_program_shadowIan Romanick2009-07-275-1451/+1578
| | | | | | | | | | | | | | | Passes the piglit asmparsertest shadow-0[123].txt tests and progs/demos/shadowtex.
| * | ARB prog parser: Fix handling of RECTIan Romanick2009-07-275-415/+424
| | | | | | | | | | | | | | | Require that GL_{ARB,EXT,NV}_texture_rectangle be supported before allowing use of RECT texture target.
| * | ARB prog: Fix parameters to _mesa_callocIan Romanick2009-07-271-1/+1
| | | | | | | | | | | | | | | So totally awesome that _mesa_calloc has a different parameter signature than calloc. Why do these libc wrappers still exist?!?
| * | ARB prog parser: Correct handling of some extensions that interact w/ARB_vpIan Romanick2009-07-273-178/+211
| | |
| * | ARB prog: Update generated files missed on previous two commitsIan Romanick2009-07-272-6/+2
| | | | | | | | | | | | The changes are, as it turns out, purely cosmetic.
| * | ARB prog: Delete comment about possibly needing to free a bufferIan Romanick2009-07-271-4/+0
| | | | | | | | | | | | | | | Valgrind doesn't complain about a leak here, so delete the comment about possibly needing to free the state returned by yy_scan_bytes.
| * | ARB prog: Clean up several memory leaksIan Romanick2009-07-273-10/+69
| | | | | | | | | | | | | | | As far as I am able to determine via code inspection and using Valgrind, that should be all of the leaks in the parser.
| * | Add destructor for symbol_tableIan Romanick2009-07-272-3/+18
| | |
| * | Add destructor for hash_tableIan Romanick2009-07-272-3/+21
| | |
| * | ARB prog: Layout parameters from parameter type, not src typeIan Romanick2009-07-241-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | Use the type stored in the Parameters array to determine the layout instead of the type in the instruction register field. Also, update the instruction register field based on the parameter type. This makes Google Earth work exactly like with Mesa master.
| * | ARB prog: _mesa_print_program output should go to same place as _mesa_printfIan Romanick2009-07-241-1/+1
| | |
| * | ARB prog parse: Fix cut-and-paste error for constant vectorsIan Romanick2009-07-242-55/+67
| | |
| * | ARB prog: get frag prog texture info from the right placeIan Romanick2009-07-242-5/+3
| | | | | | | | | | | | This gets basic texturing working. w00t!
| * | parser: Clean up a bunch of silly compiler warningsIan Romanick2009-07-223-266/+280
| | |
| * | parser: Track a few more frag prog related valuesIan Romanick2009-07-222-227/+261
| | |
| * | parser: Ensure that param_binding_type is set correctlyIan Romanick2009-07-222-0/+8
| | |
| * | GIT ignore program_parse.outputIan Romanick2009-07-221-0/+1
| | |
| * | parser: Set NumParametersIan Romanick2009-07-222-0/+4
| | |
| * | parser: Clean up generation of error strings during assemblyIan Romanick2009-07-223-13/+120
| | |
| * | parser: Initialize unused instruction source registersIan Romanick2009-07-222-0/+8
| | | | | | | | | | | | | | | | | | The 965 driver expects unused source registers (e.g., SrcReg[2] of a DP3 instruction) to have a register file of PROGRAM_UNDEFINED. Initializing these source registers ensures that this happens.
| * | parser: Anonymous constants come from the PROGRAM_CONSTANT fileIan Romanick2009-07-222-198/+202
| | |