summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600
AgeCommit message (Collapse)Author
2010-10-18r600g: get tiling info from kernelDave Airlie
2010-10-18r600g: add defines for tilingDave Airlie
2010-10-18r600g: switch to a common formats.h file since they are in different regsDave Airlie
2010-10-17r600g: add evergreen ARL support.Dave Airlie
Thanks to Alex Deucher for pointing out the FLT to int conversion is necessary and writing an initial patch, this brings about 20 piglits, and I think this is the last piece to make evergreen and r600 equal in terms of features.
2010-10-15r600g: evergreen interpolation support.Dave Airlie
On evergreen, interpolation has moved into the fragment shader, with the interpolation parmaters being passed via GPRs and LDS entries. This works out the number of interps required and reserves GPR/LDS storage for them, it also correctly routes face/position values which aren't interpolated from the vertex shader. Also if we noticed nothing is to be interpolated we always setup perspective interpolation for one value otherwise the GPU appears to lockup. This fixes about 15 piglit tests on evergreen.
2010-10-15r600g: handle absolute modifier in shader translatorKeith Whitwell
This was being classed as unsupported in one place but used in others. Enabling it seems to work fine. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-15r600g: emit hardware linewidthKeith Whitwell
Tested with demos/pixeltest - line rasterization doesn't seem to be set up for GL conventions yet, but at least width is respected now. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-14r600g: select linear interpolate if tgsi input requests itDave Airlie
2010-10-14r600g: fixup typo in macro nameDave Airlie
2010-10-14r600g: fixup pos/face ena/address properlyDave Airlie
2010-10-14r600g: only pick centroid coordinate when asked.Dave Airlie
TGSI tells us when to use this, its not hooked up from GLSL to MESA to TGSI yet though.
2010-10-14r600g: Fix texture sampling with swizzled coordsFredrik Höglund
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-14r600g: drop unused context membersDave Airlie
2010-10-13r600g: fix stencil export for evergreen harderDave Airlie
2010-10-13r600g: fix relative addressing when splitting constant accessesStephan Schmid
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-13r600g: add missing eg reg definitionDave Airlie
2010-10-13r600g: evergreen add stencil export bitDave Airlie
2010-10-13r600g: use blitter for hw copy regionDave Airlie
at the moment depth copies are failing (piglit depth-level-clamp) so use the fallback for now until get some time to investigate.
2010-10-13r600g: drop all use of unsigned longDave Airlie
this changes size on 32/64 bit so is definitely no what you want to use here.
2010-10-13r600g: fix transfer stride.Dave Airlie
fixes segfaults
2010-10-13r600g: remove bpt and start using pitch_in_bytes/pixels.Dave Airlie
this mirror changes in r300g, bpt is kinda useless when it comes to some of the non-simple texture formats.
2010-10-13r600g: rename pitch in texture to pitch_in_bytesDave Airlie
2010-10-13r600g: use common texture object create functionDave Airlie
2010-10-13r600g: split out miptree setup like r300gDave Airlie
just a cleanup step towards tiling
2010-10-13r600g: add copy into tiled textureDave Airlie
2010-10-13r600g: the vs/ps const arrays weren't actually being used.Dave Airlie
completely removed them.
2010-10-13r600g: reduce size of context structure.Dave Airlie
this thing will be in the cache a lot, so having massive big struct arrays inside it won't be helping anyone.
2010-10-13r600g: store samplers/views across blit when we need to modify themDave Airlie
also fixup framebuffer state copies to avoid bad state.
2010-10-13r600g: fix scissor/cliprect confusionDave Airlie
gallium calls them scissors, but r600 hw like r300 is better off using cliprects to implement them as we can turn them on/off a lot easier.
2010-10-13r600g: fix depth0 settingDave Airlie
2010-10-13r600g: add shader stencil export support.Dave Airlie
2010-10-13r600g: add support for S8, X24S8 and S8X24 sampler formats.Dave Airlie
2010-10-12r600g: add missing file to sconscriptKeith Whitwell
2010-10-12r600g: fix typo in vertex sampling on r600Dave Airlie
fixes https://bugs.freedesktop.org/show_bug.cgi?id=30771 Reported-by: Kevin DeKorte
2010-10-11r600g: don't run with scissors.Dave Airlie
This could probably be done much nicer, I've spent a day chasing a coherency problem in the kernel, that turned out to be incorrect scissor setup.
2010-10-11r600g: add TXL opcode support.Dave Airlie
fixes glsl1-2D Texture lookup with explicit lod (Vertex shader)
2010-10-11r600g: enable vertex samplers.Dave Airlie
We need to move the texture sampler resources out of the range of the vertex attribs. We could probably improve this using an allocator but this is the simple answer for now. makes mesa-demos/src/glsl/vert-tex work.
2010-10-11r600g: evergreen has no request size bit in texture word4Dave Airlie
2010-10-11r600g: fix input/output Z export mixup for evergreen.Dave Airlie
2010-10-08r600g: drop width/height per level storage.Dave Airlie
these aren't used anywhere, so just waste memory.
2010-10-08r600g: add some RG texture format support.Dave Airlie
2010-10-07r600g: fix Z export enable bits.Dave Airlie
we should be checking output array not input to decide. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-07r600g: use format from the sampler view not from the texture.Dave Airlie
we want to use the format from the sampler view which isn't always the same as the texture format when creating sampler views.
2010-10-07r600g: fix evergreen interpolation setupAndre Maasikas
interp data is stored in gpr0 so first interp overwrote it and subsequent ones got wrong values reserve register 0 so it's not used for attribs. alternative is to interpolate attrib0 last (reverse, as r600c does)
2010-10-06r600g: add evergreen stencil support.Dave Airlie
this sets the stencil up for evergreen properly.
2010-10-05r600g: userspace fence to avoid kernel call for testing bo busy statusJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-10-05r600g: simplify block relocationJerome Glisse
Since flush rework there could be only one relocation per register in a block. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-10-05r600g: use dirty list to track dirty blocksBas Nieuwenhuizen
Got a speed up by tracking the dirty blocks in a seperate list instead of looping through all blocks. This version should work with block that get their dirty state disabled again and I added a dirty check during the flush as some blocks were already dirty.
2010-10-05r600g: improve bo flushingJerome Glisse
Flush read cache before writting register. Track flushing inside of a same cs and avoid reflushing same bo if not necessary. Allmost properly force flush if bo rendered too and then use as a texture in same cs (missing pipeline flush dunno if it's needed or not). Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-10-05r600g: drop use_mem_constant.Dave Airlie
since we plan on using dx10 constant buffers everywhere.