Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: Silence gcc uninitialized variable warning. | Vinson Lee | 2009-08-24 | 1 | -1/+1 |
| | |||||
* | st/mesa: flush bitmap cache if Z value changes | Brian Paul | 2009-08-24 | 1 | -5/+11 |
| | | | | | | | When adding a new bitmap to the cache we have to check if the Z value is changing and flush first if it is. This is a modified version of a patch from Justin Dou <[email protected]> | ||||
* | ARB prog parser: Regenerate parser from previous commit | Ian Romanick | 2009-08-24 | 1 | -6/+6 |
| | |||||
* | ARB prog parser: use correct context limits | Brian Paul | 2009-08-24 | 1 | -6/+6 |
| | |||||
* | r600: fix state emit sizes | Alex Deucher | 2009-08-24 | 3 | -14/+75 |
| | |||||
* | glapi: Fix a possible race in getting current context/dispatch. | Chia-I Wu | 2009-08-24 | 3 | -41/+41 |
| | | | | | | | | | | | | | | | | | | There is a possbile race that _glapi_Context is reset by another thread after it is tested in GET_CURRENT_CONTEXT but before it is returned. We definitely do not want a lock here to solve the race. To have correct results even under a race, no other threads should reset _glapi_Context (or _glapi_Dispatch). This patch adds a new global variable _glapi_SingleThreaded. Since _glapi_Context or _glapi_Dispatch are no longer reset, _glapi_SingleThreaded is tested instead, before accessing them. DRI drivers compiled with this patch applied will not work with existing libGL.so because of the missing new symbol. If this turns out to be a real problem, this patch should be reverted. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | glapi: Static mutex does not work on WIN32_THREADS. | Chia-I Wu | 2009-08-24 | 1 | -2/+11 |
| | | | | | | | This re-introduces the race in _glapi_check_multithread, but avoids a crash on windows. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | glapi: Fix a race in accessing context/dispatch TSD. | Chia-I Wu | 2009-08-24 | 1 | -0/+4 |
| | | | | | | | | | If multiple threads set/get a TSD at roughly same time for the first time, glthread might (wrongly) initialize it more than once. This patch solves the race by initializing context/dispatch TSDs early. Acked-by: Ian Romanick <[email protected]> Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | glapi: Protect _glapi_check_multithread by a mutex. | Chia-I Wu | 2009-08-24 | 1 | -14/+15 |
| | | | | | | | | | Multiple threads might call _glapi_check_multithread at roughly the same time. It is possbile that all of them are wrongly regarded as firstCall if there is no mutex. This bug causes xeglthreads to crash sometimes. Acked-by: Ian Romanick <[email protected]> Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | mesa: _mesa_layout_parameters() returns a boolean value | Brian Paul | 2009-08-24 | 2 | -5/+10 |
| | |||||
* | r300: add support for EXT_framebuffer_blit | Maciej Cencora | 2009-08-24 | 3 | -44/+44 |
| | |||||
* | r600: scissor updates for dri2 | Dave Airlie | 2009-08-24 | 1 | -14/+23 |
| | | | | Pulled from Dave's WIP patch. | ||||
* | r600: switch to common cs functions | Dave Airlie | 2009-08-24 | 2 | -31/+14 |
| | | | | needed for dri2. Pulled from Dave's WIP patch. | ||||
* | r600: map 16 VS outputs | Alex Deucher | 2009-08-24 | 1 | -0/+2 |
| | | | | Should cover everything exported from the VS | ||||
* | r600: fix logic copy paste error | Alex Deucher | 2009-08-23 | 1 | -2/+2 |
| | | | | Spotted by airlied. | ||||
* | radeon: add radeon_cs_write_table to the legacy path | Alex Deucher | 2009-08-23 | 1 | -0/+9 |
| | |||||
* | r600: bump reloc_chunk size | Alex Deucher | 2009-08-23 | 1 | -1/+1 |
| | | | | | This fixes openarena reloc errors. This needs to be made more dynamic. | ||||
* | r600: fix count for CB/DB target state | Alex Deucher | 2009-08-23 | 1 | -2/+2 |
| | |||||
* | r300: fix a typo | Maciej Cencora | 2009-08-23 | 1 | -1/+1 |
| | |||||
* | radeon: use proper macro | Maciej Cencora | 2009-08-23 | 1 | -3/+1 |
| | |||||
* | radeon: use bo_is_idle interface for checking if OQ result is available | Maciej Cencora | 2009-08-23 | 1 | -19/+38 |
| | |||||
* | r300: minor optimization | Maciej Cencora | 2009-08-23 | 2 | -12/+5 |
| | | | | use properly implemented OUT_BATCH_TABLE where possible | ||||
* | ARB prog lexer: Fix lexer to eat both DOS and Unix line endings | Ian Romanick | 2009-08-23 | 2 | -304/+308 |
| | |||||
* | 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 |
| | | |