summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)AuthorFilesLines
2011-01-15nvc0: try to swap immediates to first source tooChristoph Bumiller1-0/+7
2011-01-15nvc0: make sure all sources of the BIND op are distinctChristoph Bumiller3-0/+45
They're supposed to be assigned consecutive registers so they can't contain the same SSA value more than once.
2011-01-15nvc0: update user vbufs on each draw callChristoph Bumiller4-37/+119
This is required in case set_vertex_buffers is not called again.
2011-01-15nvc0: enable early fragment tests where possibleChristoph Bumiller3-2/+13
2011-01-15nvc0: upload small buffers through the command bufferChristoph Bumiller1-0/+6
2011-01-14r600g: compiler helper opcode fixes for evergreenAlex Deucher2-120/+269
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-14r600g: pass r600_bc to some addition compiler helper functionsAlex Deucher1-55/+62
needed for asic specific opcodes Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-14r600g: Disable V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR case.Vinson Lee1-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.
2011-01-14r600g: add more missing instructions to r600_bc_get_num_operandsChristian König1-1/+5
2011-01-13r600g: Move declaration before code in r600_asm.c.Vinson Lee1-1/+3
Fixes SCons build.
2011-01-13r600g: rework literal handlingChristian König5-277/+151
2011-01-13r600g: merge alu groupsChristian König2-37/+150
2011-01-13r600g: implement replacing gpr with pv and psChristian König3-5/+63
2011-01-13r600g: add missing RECIPSQRT_CLAMPED to r600_bc_get_num_operandsChristian König1-0/+1
2011-01-13r600g: rework bank swizzle codeChristian König2-183/+174
2011-01-13r600g: fix alu slot assignmentChristian König1-15/+167
2011-01-13r600g: optimize away CF ALU instructions even if type doesn't matchChristian König1-3/+16
2011-01-13nvc0: identify POINT_RASTER_RULES, add POINT_SMOOTH stateChristoph Bumiller4-19/+42
Point smoothing requires rasterization rules to be set to OGL. Sorry for the extra noise caused by the header update.
2011-01-13r600g: Silence uninitialized variable warnings.Vinson Lee1-4/+4
2011-01-13nvc0: disable calling of sw methods we don't implementBen Skeggs1-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 <bskeggs@redhat.com>
2011-01-13nvc0: fix mp_stack_bo relocationBen Skeggs1-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 <bskeggs@redhat.com>
2011-01-12noop: change var type to silence warningBrian Paul1-1/+1
2011-01-12r600g: also look at tex inst when for maximum gpu countChristian König1-1/+7
2011-01-12r600g: implement output modifiers and use them to further optimize LRPChristian König4-0/+33
2011-01-12r600g: use special constants for 0, 1, -1, 1.0f, 0.5f etcChristian König1-12/+44
2011-01-12r600g: optimize temp register handling for LRPChristian König1-34/+38
2011-01-12r600g: optimize away CF_INST_POPChristian König3-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.
2011-01-12r600g: make dumping of shaders an optionChristian König1-4/+14
2011-01-12r600g: fix alu dumpingChristian König1-19/+13
2011-01-12r600g: improve r600_bc_dumpChristian König1-28/+131
2011-01-12r600g: texture instructions also work fine with TGSI_FILE_INPUTChristian König1-1/+3
2011-01-12r600g: DP4 also supports writemaskingChristian König1-8/+6
2011-01-12r600g: Why all this fiddling with tgsi_helper_copy?Christian König1-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.
2011-01-12r600g: fix tex and vtx joiningChristian König1-2/+2
2011-01-11r600g: Fixed SIN/COS/SCS for the case where the operand is a literal.Tilman Sauerbeck1-2/+15
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-11r600g: move user fence into base radeon structureJerome Glisse1-3/+0
This avoid any issue when context is free and we still try to access fence through radeon structure. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-01-10r300g: add debug option for buffer upload loggingMarek Olšák3-0/+9
2011-01-09noop: make noop useable like trace or rbugJerome Glisse2-47/+35
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 <jglisse@redhat.com>
2011-01-09r300g: do not upload the same user buffer several timesMarek Olšák1-1/+3
Performance++.
2011-01-09nvc0: implement queriesChristoph Bumiller10-23/+432
2011-01-09i965g: fix warningsDave Airlie2-2/+1
2011-01-09i965g: update intel_decode from upstream.Dave Airlie4-137/+432
2011-01-09i965g: update disassembler code from classic.Dave Airlie8-34/+95
still a bit of work to do, the winsys gen setting is a bit of a hack.
2011-01-09i965g: update brw_defines.h from classic driverDave Airlie3-37/+397
2011-01-09i965g: update brw_structs.h from classic driver.Dave Airlie3-88/+288
2011-01-09i965g: update to similiar gen stuff as i965Dave Airlie33-151/+173
2011-01-09r300g: fix crash when flushing ZMASKMarek Olšák5-92/+81
https://bugs.freedesktop.org/show_bug.cgi?id=32912 The fix is to call update_derived_state before user buffer uploads. I've also moved some code around. Unfortunately, there are still some ZMASK-related bugs which cause misrendering, i.e. flushing doesn't always work and glean/fbo fails.
2011-01-08nvfx,nv50: pipe_reference the constant buffersChristoph Bumiller2-6/+5
2011-01-08nvc0: fix primitive restart in immediate modeChristoph Bumiller2-9/+18
2011-01-08r300g: fix a surface leak when flushing ZMASKMarek Olšák1-0/+1