summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-08-20r600: convert to using common radeon state atomsAlex Deucher
switches more state handling to common code. We need should be more fine grained with the state atoms eventually.
2009-08-20r600: improve state emissionAlex Deucher
Slowing migrating to atom based system like the other radeon drivers.
2009-08-20r600: split state emit into block specific functionsAlex Deucher
We probably want to go finer grained eventually, but this is a good start.
2009-08-20nv50: use VTX_ATTR_nF for constant vtxeltsChristoph Bumiller
2009-08-20nv50: set vertex buffer limitsChristoph Bumiller
2009-08-20nv50: modify vbo format to hw translation, add BGRA swizzleChristoph Bumiller
2009-08-20st/egl: Open the first drm nodeJakob Bornecrantz
At least its better then hardcoded to i915
2009-08-20tgsi: when printing/dumping programs indent loops and conditionalsBrian Paul
2009-08-20tgsi: check for SOA dependencies in SSE and PPC code generatorsBrian Paul
Fall back to interpreter for now. This doesn't happen very often.
2009-08-20tgsi: handle SOA dependencies for MOV/SWZBrian Paul
SOA dependencies can happen when a register is used both as a source and destination and the source is swizzled. For example: MOV T, T.yxwz; would expand into: MOV t0, t1; MOV t1, t0; MOV t2, t3; MOV t3, t2; The second instruction will produce the wrong result since we wrote to t0 in the first instruction. We need to use an intermediate temporary to fix this. This will take more work to fix for all TGSI instructions. This seems to happen with MOV instructions more than anything else so fix that case now and warn on others. Fixes piglit glsl-vs-loop test (when not using SSE). See bug 23317.
2009-08-20tgsi: added tgsi_full_instruction::Flags fieldBrian Paul
Users of the parser can make use of this.
2009-08-20r600: try and get everything in the draw in one IBAlex Deucher
fixes corruption issues with apps like teapot and geartrain.
2009-08-20r600: move misc regs from general stateAlex Deucher
These regs don't use the SET_CONTEXT_REG packet, so they weren't getting set correctly.
2009-08-20mesa: add GL_DEPTH_STENCIL to glCopyPixels error checkBrian Paul
Plus, add a comment about 'type' error checking. See bug 19087.
2009-08-20r600: rework emit codeAlex Deucher
make sure we allocate enough space for relocs
2009-08-20radeon: Update regulary cs processing info from kernel.Pauli Nieminen
This fixes problem that dma buffers were leaking in dri1 mode. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-19gallium: rename copy/fill_rect utility functionsBrian Paul
2009-08-19gallium: fix tags target in Makefile.templateBrian Paul
2009-08-19radeon: fix typo in last dma patchAlex Deucher
2009-08-19intel: Fix failure to commit -a --amend before last push.Eric Anholt
2009-08-19intel: Align cubemap texture height to its padding requirements.Eric Anholt
2009-08-19intel: Align untiled region height to 2 according to 965 docs.Eric Anholt
This may or may not be required pre-965, but it doesn't seem unlikely, and I'd rather be safe.
2009-08-19radeon: Add debug output for dma buffer object numbers.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-19radeon: Fix dma buffer object pool to scale object sizes.Pauli Nieminen
This fixes problems when application is using large vertex arrays for drawing. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-19r600: minor cleanupAlex Deucher
2009-08-19tgsi: Add missing include.José Fonseca
(cherry picked from commit d2787c02c130b1fe20d0c032d468622f2fdaef79)
2009-08-19tgsi: Fix typo in ureg constant creation.José Fonseca
(cherry picked from commit aa40c9abc7787fdf46cb661a4d0bb8bec513fc63)
2009-08-19st/xlib: remove a couple more 'fake' referencesKeith Whitwell
2009-08-19st/xlib: remove dead ungrab helperKeith Whitwell
2009-08-19tgsi: silence compiler warningKeith Whitwell
2009-08-19tgsi: remove unused function argumentKeith Whitwell
2009-08-19tgsi: add missing functionality to support instructions with labelsKeith Whitwell
Could previously emit opcodes with label arguments, but was no way to patch them with the actual destinations of those labels. Adds two functions: ureg_get_instruction_number - to get the id of the next instruction to be emitted ureg_fixup_label - to patch an emitted label to point to a given instruction number. Need some more complex examples than u_simple_shader, so far this has only been compile-tested.
2009-08-18r300g: Force off ZTOP optimizations for now.Corbin Simpson
2009-08-18r300g: Utilize DONTBLOCK.Corbin Simpson
Also ALGYRHYTHMS.
2009-08-18radeon-gallium: Oh, look, we *do* already support DONTBLOCK.Corbin Simpson
Well, okay, the kernel doesn't, but that's no excuse for us! :3
2009-08-18r300g: Massively cleanup OQ.Corbin Simpson
Still broken, but compiles cleaner, behaves better, etc.
2009-08-18r300g: Add high_second_pipe cap for R3xx chipsets.Corbin Simpson
This name is totally subject to change if ever I need to separate R3xx for some other reason.
2009-08-18radeon-gallium: Stop using outdated ioctls.Corbin Simpson
2009-08-18Revert "r300-gallium, radeon-gallium: Nuke gb_pipes from orbit."Corbin Simpson
This reverts commit 6a40d1e9d96f8e8c57bc3bbd6f567cacd4471f59. Turns out that we *do* need these for OQ after all. Go figure. Conflicts: src/gallium/winsys/drm/radeon/core/radeon_r300.h
2009-08-18Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-18egl/xlib: move call to create_configs() after we set the Xdpy fieldBrian Paul
2009-08-18tgsi/ppc: we don't implement saturation modes yetBrian Paul
2009-08-18tgsi/sse: we don't implement saturation modes yetBrian Paul
Fixes piglit fp-generic tests/shaders/generic/lrp_sat.fp, bug 23316.
2009-08-18mesa: when emitting vertex program fog, set yzw=0,0,1Brian Paul
Fixes piglit fp-fog failure with gallium.
2009-08-18mesa: call FLUSH_CURRENT() for GL_CURRENT_TEXTURE_COORDS queryBrian Paul
2009-08-18radeon: balance dma buffer mappingPauli Nieminen
In radeonRefillCurrentDmaRegion() make sure we unmap the previous buffer.
2009-08-18egl: Create the front texture the properlyJakob Bornecrantz
2009-08-18r300: Movde debug output from stdout to stderr in copiler.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-18r200: make use of DMA buffers for Elts a lot better.Dave Airlie
This allows us to return the unused portion of the dma buffer to the allocator instead of wasting nearly 16k a pop. Cherry picked and ported to new code by Pauli.
2009-08-18r200: Fix missing offset from elt buffer pointer.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>