summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* tgsi: Pass pipe_context as a parameter to ureg_create_shader.José Fonseca2009-08-242-14/+30
| | | | | Simplifies migration to tgsi_ureg. (cherry picked from commit f574398c07c41cb8d31249a7186fc178ef7d552a)
* tgsi: add generic instruction builderKeith Whitwell2009-08-242-0/+33
| | | | | | When translating an incoming shader (rather than building one from scratch) it's preferable to be able to call a single, generic instruction emitter rather than figuring out which of the opcode-specific functions to call.
* r300g: Set the vector address in the input memory for ↵Cooper Yuan2009-08-241-16/+20
| | | | bypass_vs_clip_and_viewport case
* r600: scissor updates for dri2Dave Airlie2009-08-241-14/+23
| | | | Pulled from Dave's WIP patch.
* r600: switch to common cs functionsDave Airlie2009-08-242-31/+14
| | | | needed for dri2. Pulled from Dave's WIP patch.
* r600: map 16 VS outputsAlex Deucher2009-08-241-0/+2
| | | | Should cover everything exported from the VS
* r600: fix logic copy paste errorAlex Deucher2009-08-231-2/+2
| | | | Spotted by airlied.
* radeon: add radeon_cs_write_table to the legacy pathAlex Deucher2009-08-231-0/+9
|
* r600: bump reloc_chunk sizeAlex Deucher2009-08-231-1/+1
| | | | | This fixes openarena reloc errors. This needs to be made more dynamic.
* r600: fix count for CB/DB target stateAlex Deucher2009-08-231-2/+2
|
* r300: fix a typoMaciej Cencora2009-08-231-1/+1
|
* radeon: use proper macroMaciej Cencora2009-08-231-3/+1
|
* radeon: use bo_is_idle interface for checking if OQ result is availableMaciej Cencora2009-08-231-19/+38
|
* r300: minor optimizationMaciej Cencora2009-08-232-12/+5
| | | | use properly implemented OUT_BATCH_TABLE where possible
* ARB prog lexer: Fix lexer to eat both DOS and Unix line endingsIan Romanick2009-08-232-304/+308
|
* r600: use persistent bos for shadersAlex Deucher2009-08-231-24/+26
|
* r600: always emit CB baseAlex Deucher2009-08-231-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 Nieminen2009-08-231-1/+1
|
* radeon: Check from kernel if dma buffer is idle.Pauli Nieminen2009-08-233-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 grainedAlex Deucher2009-08-224-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 warningsLuo Jinghua2009-08-221-0/+1
|
* 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-18553-20469/+25403
| |\ | | | | | | | | | | | | 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
| | |