Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g: Disable V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR case. | Vinson Lee | 2011-01-14 | 1 | -0/+2 |
| | | | | | | The usage of macro V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR was introduced by commit 323ef3a1f07ba4333dadebab571ddcd49d95f45c but the macro is undefined. Disable this case to fix the build for now. | ||||
* | r600g: add more missing instructions to r600_bc_get_num_operands | Christian König | 2011-01-14 | 1 | -1/+5 |
| | |||||
* | r600g: Move declaration before code in r600_asm.c. | Vinson Lee | 2011-01-13 | 1 | -1/+3 |
| | | | | Fixes SCons build. | ||||
* | r600g: rework literal handling | Christian König | 2011-01-13 | 5 | -277/+151 |
| | |||||
* | r600g: merge alu groups | Christian König | 2011-01-13 | 2 | -37/+150 |
| | |||||
* | r600g: implement replacing gpr with pv and ps | Christian König | 2011-01-13 | 3 | -5/+63 |
| | |||||
* | r600g: add missing RECIPSQRT_CLAMPED to r600_bc_get_num_operands | Christian König | 2011-01-13 | 1 | -0/+1 |
| | |||||
* | r600g: rework bank swizzle code | Christian König | 2011-01-13 | 2 | -183/+174 |
| | |||||
* | r600g: fix alu slot assignment | Christian König | 2011-01-13 | 1 | -15/+167 |
| | |||||
* | r600g: optimize away CF ALU instructions even if type doesn't match | Christian König | 2011-01-13 | 1 | -3/+16 |
| | |||||
* | nvc0: identify POINT_RASTER_RULES, add POINT_SMOOTH state | Christoph Bumiller | 2011-01-13 | 4 | -19/+42 |
| | | | | | | Point smoothing requires rasterization rules to be set to OGL. Sorry for the extra noise caused by the header update. | ||||
* | draw: Fix an off-by-one bug in a vsplit assertion. | Chia-I Wu | 2011-01-14 | 1 | -1/+2 |
| | | | | | | | | When use_spoken is true, istart (the first vertex of this segment) is replaced by i0 (the spoken vertex of the fan). There are still icount vertices. Thanks to Brian Paul for spotting this. | ||||
* | targets/egl-static: Remove unnecessary header. | Vinson Lee | 2011-01-13 | 1 | -1/+0 |
| | |||||
* | r600g: Silence uninitialized variable warnings. | Vinson Lee | 2011-01-13 | 1 | -4/+4 |
| | |||||
* | scons: Ensure the OpenVG/EGL import libs are also prefixed with 'lib'. | José Fonseca | 2011-01-13 | 1 | -0/+1 |
| | |||||
* | scons: Build libOpenVG.dll & libEGL.dll | José Fonseca | 2011-01-13 | 1 | -1/+4 |
| | | | | | | But without creating liblibOpenVG or liblibEGL elsewhere. Thanks Chia-I Wu for pointing this out. | ||||
* | util: Undo spurious changes in last commit. | José Fonseca | 2011-01-13 | 1 | -1/+1 |
| | |||||
* | util: Don't limit debug_printf message length on unices. | José Fonseca | 2011-01-13 | 1 | -1/+6 |
| | |||||
* | egl: Improve driver selection. | Chia-I Wu | 2011-01-13 | 6 | -63/+96 |
| | | | | | | | | | | | | | | | | | | | | | | | The idea is to be able to match a driver using the following order try egl_gallium with hw renderer try egl_dri2 try egl_gallium with sw renderer try egl_glx given the module list egl_gallium egl_dri2 egl_glx For that, UseFallback initialization option is added. The module list is matched twice: with the option unset and with the option set. In the first pass, egl_gallium skips its sw renderer and egl_glx rejects to initialize since UseFallback is not set. In the second pass, egl_gallium skips its hw renderer and egl_dri2 rejects to initialize since UseFallback is set. The process stops at the first driver that initializes the display. | ||||
* | egl: Simplify driver matching. | Chia-I Wu | 2011-01-13 | 1 | -8/+3 |
| | | | | | | Add initialization options that drv->API.Initialize should support. Replace drv->Probe by TestOnly initialization option and simplify _eglMatchDriver. | ||||
* | egl: Cleanup _EGLDisplay initialization. | Chia-I Wu | 2011-01-13 | 1 | -9/+8 |
| | | | | | Reorder/rename and document the fields that should be set by the driver during initialization. Drop the major/minor arguments from drv->API.Initialize. | ||||
* | nvc0: disable calling of sw methods we don't implement | Ben Skeggs | 2011-01-13 | 1 | -0/+4 |
| | | | | | | | Left in the code as a marker of what NVIDIA do, just in case we need to do this some day. Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nvc0: fix mp_stack_bo relocation | Ben Skeggs | 2011-01-13 | 1 | -2/+2 |
| | | | | | | | | | | Fixes a PT_NOT_PRESENT error cause by: - allocating in VRAM - emitting GART relocs to 0x17bc/0x17c0, moving the buffer - telling the bufmgr that the buffer should be in VRAM when we use it, but not correcting the value sent to 0x17bc/0x17c0. Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | noop: change var type to silence warning | Brian Paul | 2011-01-12 | 1 | -1/+1 |
| | |||||
* | r600g: also look at tex inst when for maximum gpu count | Christian König | 2011-01-12 | 1 | -1/+7 |
| | |||||
* | r600g: implement output modifiers and use them to further optimize LRP | Christian König | 2011-01-12 | 4 | -0/+33 |
| | |||||
* | r600g: use special constants for 0, 1, -1, 1.0f, 0.5f etc | Christian König | 2011-01-12 | 1 | -12/+44 |
| | |||||
* | r600g: optimize temp register handling for LRP | Christian König | 2011-01-12 | 1 | -34/+38 |
| | |||||
* | r600g: optimize away CF_INST_POP | Christian König | 2011-01-12 | 3 | -3/+29 |
| | | | | | If last instruction is an CF_INST_ALU we don't need to emit an additional CF_INST_POP for stack clean up after an IF ELSE ENDIF. | ||||
* | r600g: make dumping of shaders an option | Christian König | 2011-01-12 | 1 | -4/+14 |
| | |||||
* | r600g: fix alu dumping | Christian König | 2011-01-12 | 1 | -19/+13 |
| | |||||
* | r600g: improve r600_bc_dump | Christian König | 2011-01-12 | 1 | -28/+131 |
| | |||||
* | scons: Update windows build for vgapi->openvg rename. | José Fonseca | 2011-01-12 | 1 | -1/+1 |
| | |||||
* | scons: Fix build on systems without libOpenVG.so | José Fonseca | 2011-01-12 | 1 | -1/+2 |
| | |||||
* | scons: Updates for targets/egl-static. | Chia-I Wu | 2011-01-12 | 3 | -16/+156 |
| | | | | | | | | Update SConscripts to re-enable or add support for EGL on windows and x11 platforms respectively. targets/egl-gdi is replaced by targets/egl-static, where "-static" means pipe drivers and state trackers are linked to statically by egl_gallium, and egl_gallium is a built-in driver of libEGL. There is no more egl_gallium.dll on Windows. | ||||
* | targets/egl-static: New EGL target for scons. | Chia-I Wu | 2011-01-12 | 6 | -123/+455 |
| | | | | | This target is based on and replaces egl-gdi. It is suitable for both windows and x11. | ||||
* | r600g: texture instructions also work fine with TGSI_FILE_INPUT | Christian König | 2011-01-12 | 1 | -1/+3 |
| | |||||
* | r600g: DP4 also supports writemasking | Christian König | 2011-01-12 | 1 | -8/+6 |
| | |||||
* | r600g: Why all this fiddling with tgsi_helper_copy? | Christian König | 2011-01-12 | 1 | -21/+41 |
| | | | | | | | | tgsi_helper_copy is used on several occasions to copy a temporary result into the real destination register to emulate writemasks for OP3 and reduction operations. According to R600 ISA that's unnecessary. This patch fixes this use for MAD, CMP and DP4. | ||||
* | r600g: fix tex and vtx joining | Christian König | 2011-01-12 | 1 | -2/+2 |
| | |||||
* | r600g: Fixed SIN/COS/SCS for the case where the operand is a literal. | Tilman Sauerbeck | 2011-01-11 | 1 | -2/+15 |
| | | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | noop: remove dead dri target | Jerome Glisse | 2011-01-11 | 3 | -128/+0 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: move user fence into base radeon structure | Jerome Glisse | 2011-01-11 | 6 | -43/+42 |
| | | | | | | | This avoid any issue when context is free and we still try to access fence through radeon structure. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r300g: add debug option for buffer upload logging | Marek Olšák | 2011-01-10 | 3 | -0/+9 |
| | |||||
* | st/egl: Fix a void pointer arithmetic warning. | Chia-I Wu | 2011-01-10 | 1 | -1/+1 |
| | |||||
* | mesa: Remove GLES overlay. | Chia-I Wu | 2011-01-10 | 4 | -52/+2 |
| | | | | | | | With core mesa doing runtime API checks, GLES overlay is no longer needed. Make --enable-gles-overlay equivalent to --enable-gles[12]. There may still be places where compile-time checks are done. They could be fixed case by case. | ||||
* | noop: make noop useable like trace or rbug | Jerome Glisse | 2011-01-09 | 5 | -50/+90 |
| | | | | | | | | If you want to enable noop set GALLIUM_NOOP=1 as an env variable. You need first to enable noop wrapping for your driver see change to src/gallium/targets/dri-r600/ in this commit as an example. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r300g: do not upload the same user buffer several times | Marek Olšák | 2011-01-09 | 1 | -1/+3 |
| | | | | Performance++. | ||||
* | nvc0: implement queries | Christoph Bumiller | 2011-01-09 | 10 | -23/+432 |
| | |||||
* | i965g: fix warnings | Dave Airlie | 2011-01-09 | 2 | -2/+1 |
| |