Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600: use persistent bos for shaders | Alex Deucher | 2009-08-23 | 1 | -24/+26 |
| | |||||
* | r600: always emit CB base | Alex Deucher | 2009-08-23 | 1 | -1/+7 |
| | | | | | | | Not doing so seems to cause lock-ups or rendering problems on some chips. I think there is an logic issue related to CB and VGT on some chips. We ran into similar issues in r600_demo IIRC. | ||||
* | radeon: Fix compilation with legacy memory manager. | Pauli Nieminen | 2009-08-23 | 1 | -1/+1 |
| | |||||
* | radeon: Check from kernel if dma buffer is idle. | Pauli Nieminen | 2009-08-23 | 3 | -1/+33 |
| | | | | | | This makes sure that objects are leaving wait list only when they are processed by gpu. Signed-off-by: Pauli Nieminen <[email protected]> | ||||
* | r600: make state emit more fine grained | Alex Deucher | 2009-08-22 | 4 | -106/+230 |
| | | | | | Gives a nice speed boost in most apps since we only emit what state we need. | ||||
* | ARB prog parser: include imports.h to kill some compiler warnings | Luo Jinghua | 2009-08-22 | 1 | -0/+1 |
| | |||||
* | r600: move full state to radeon state atoms | Alex Deucher | 2009-08-22 | 9 | -192/+262 |
| | |||||
* | r600: add support for RS880 | Alex Deucher | 2009-08-22 | 5 | -0/+19 |
| | |||||
* | i965: Implement frag prog DPH like DP4 | Ian Romanick | 2009-08-22 | 1 | -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. | ||||
* | Fix r300 VBO support build on big endian. | Michel Dänzer | 2009-08-22 | 1 | -3/+3 |
| | |||||
* | r600: better default state size. | Alex Deucher | 2009-08-21 | 3 | -9/+15 |
| | | | | | Hopefully suokko's emit size impovements will land soon. | ||||
* | Merge branch 'asm-shader-rework-1' | Ian Romanick | 2009-08-21 | 22 | -8084/+13341 |
|\ | |||||
| * | ARB prog parser: Revert part of previous change to constant parsing | Ian Romanick | 2009-08-20 | 2 | -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-1 | Ian Romanick | 2009-08-18 | 364 | -11390/+16449 |
| |\ | | | | | | | | | | | | | Conflicts: src/mesa/shader/arbprogparse.c | ||||
| * | | ARB prog parser: Delete the old parser | Ian Romanick | 2009-08-18 | 3 | -8035/+0 |
| | | | |||||
| * | | ARB prog: Revert some changes to debug output | Ian Romanick | 2009-08-18 | 1 | -3/+1 |
| | | | |||||
| * | | ARB prog parser: Add support for RGBA components to SWZ instruction in fp | Ian Romanick | 2009-07-30 | 3 | -273/+398 |
| | | | |||||
| * | | ARB prog parser: Prevent NULL ptr deref for KIL instruction | Ian Romanick | 2009-07-30 | 2 | -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 sense | Ian Romanick | 2009-07-29 | 2 | -71/+89 |
| | | | |||||
| * | | ARB prog parser: Get program limits from the context | Ian Romanick | 2009-07-29 | 2 | -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 vp | Ian Romanick | 2009-07-29 | 2 | -2/+2 |
| | | | |||||
| * | | ARB prog parser: Finish implementing fp state.depth.range | Ian Romanick | 2009-07-29 | 2 | -566/+594 |
| | | | |||||
| * | | ARB prog: Fix the order of swizzle application | Ian Romanick | 2009-07-29 | 1 | -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 Romanick | 2009-07-29 | 2 | -16/+16 |
| | | | |||||
| * | | ARB prog parser: Set NumAttributes based on the number of attribs read | Ian Romanick | 2009-07-29 | 2 | -0/+2 |
| | | | |||||
| * | | ARB prog parser: Set component negation mask for SWZ instruction | Ian Romanick | 2009-07-28 | 2 | -210/+212 |
| | | | |||||
| * | | ARB prog parser: Set correct register file for OUTPUT variables | Ian Romanick | 2009-07-28 | 2 | -199/+213 |
| | | | |||||
| * | | ARB prog parser: Add support for GL_MESA_texture_array | Ian Romanick | 2009-07-27 | 7 | -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 string | Ian Romanick | 2009-07-27 | 2 | -236/+244 |
| | | | |||||
| * | | ARB prog parser: Add support for GL_ARB_fragment_program_shadow | Ian Romanick | 2009-07-27 | 5 | -1451/+1578 |
| | | | | | | | | | | | | | | | Passes the piglit asmparsertest shadow-0[123].txt tests and progs/demos/shadowtex. | ||||
| * | | ARB prog parser: Fix handling of RECT | Ian Romanick | 2009-07-27 | 5 | -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_calloc | Ian Romanick | 2009-07-27 | 1 | -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_vp | Ian Romanick | 2009-07-27 | 3 | -178/+211 |
| | | | |||||
| * | | ARB prog: Update generated files missed on previous two commits | Ian Romanick | 2009-07-27 | 2 | -6/+2 |
| | | | | | | | | | | | | The changes are, as it turns out, purely cosmetic. | ||||
| * | | ARB prog: Delete comment about possibly needing to free a buffer | Ian Romanick | 2009-07-27 | 1 | -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 leaks | Ian Romanick | 2009-07-27 | 3 | -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_table | Ian Romanick | 2009-07-27 | 2 | -3/+18 |
| | | | |||||
| * | | Add destructor for hash_table | Ian Romanick | 2009-07-27 | 2 | -3/+21 |
| | | | |||||
| * | | ARB prog: Layout parameters from parameter type, not src type | Ian Romanick | 2009-07-24 | 1 | -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_printf | Ian Romanick | 2009-07-24 | 1 | -1/+1 |
| | | | |||||
| * | | ARB prog parse: Fix cut-and-paste error for constant vectors | Ian Romanick | 2009-07-24 | 2 | -55/+67 |
| | | | |||||
| * | | ARB prog: get frag prog texture info from the right place | Ian Romanick | 2009-07-24 | 2 | -5/+3 |
| | | | | | | | | | | | | This gets basic texturing working. w00t! | ||||
| * | | parser: Clean up a bunch of silly compiler warnings | Ian Romanick | 2009-07-22 | 3 | -266/+280 |
| | | | |||||
| * | | parser: Track a few more frag prog related values | Ian Romanick | 2009-07-22 | 2 | -227/+261 |
| | | | |||||
| * | | parser: Ensure that param_binding_type is set correctly | Ian Romanick | 2009-07-22 | 2 | -0/+8 |
| | | | |||||
| * | | GIT ignore program_parse.output | Ian Romanick | 2009-07-22 | 1 | -0/+1 |
| | | | |||||
| * | | parser: Set NumParameters | Ian Romanick | 2009-07-22 | 2 | -0/+4 |
| | | | |||||
| * | | parser: Clean up generation of error strings during assembly | Ian Romanick | 2009-07-22 | 3 | -13/+120 |
| | | | |||||
| * | | parser: Initialize unused instruction source registers | Ian Romanick | 2009-07-22 | 2 | -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 file | Ian Romanick | 2009-07-22 | 2 | -198/+202 |
| | | |