Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g: rename pitch in texture to pitch_in_bytes | Dave Airlie | 2010-10-13 | 4 | -14/+14 |
| | |||||
* | r600g: use common texture object create function | Dave Airlie | 2010-10-13 | 1 | -33/+41 |
| | |||||
* | r600g: split out miptree setup like r300g | Dave Airlie | 2010-10-13 | 1 | -12/+43 |
| | | | | just a cleanup step towards tiling | ||||
* | r600g: add copy into tiled texture | Dave Airlie | 2010-10-13 | 1 | -3/+22 |
| | |||||
* | r600g: the vs/ps const arrays weren't actually being used. | Dave Airlie | 2010-10-13 | 2 | -16/+0 |
| | | | | completely removed them. | ||||
* | r600g: reduce size of context structure. | Dave Airlie | 2010-10-13 | 2 | -4/+35 |
| | | | | | this thing will be in the cache a lot, so having massive big struct arrays inside it won't be helping anyone. | ||||
* | r600g: store samplers/views across blit when we need to modify them | Dave Airlie | 2010-10-13 | 4 | -31/+66 |
| | | | | also fixup framebuffer state copies to avoid bad state. | ||||
* | r600g: fix scissor/cliprect confusion | Dave Airlie | 2010-10-13 | 2 | -100/+10 |
| | | | | | 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. | ||||
* | r600g: fix depth0 setting | Dave Airlie | 2010-10-13 | 1 | -2/+2 |
| | |||||
* | r600g: add shader stencil export support. | Dave Airlie | 2010-10-13 | 3 | -2/+18 |
| | |||||
* | r600g: add support for S8, X24S8 and S8X24 sampler formats. | Dave Airlie | 2010-10-13 | 1 | -0/+8 |
| | |||||
* | r600g: add missing file to sconscript | Keith Whitwell | 2010-10-12 | 1 | -0/+1 |
| | |||||
* | r600g: fix typo in vertex sampling on r600 | Dave Airlie | 2010-10-12 | 1 | -1/+1 |
| | | | | | | fixes https://bugs.freedesktop.org/show_bug.cgi?id=30771 Reported-by: Kevin DeKorte | ||||
* | r600g: don't run with scissors. | Dave Airlie | 2010-10-11 | 2 | -0/+92 |
| | | | | | | 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. | ||||
* | r600g: add TXL opcode support. | Dave Airlie | 2010-10-11 | 1 | -2/+2 |
| | | | | fixes glsl1-2D Texture lookup with explicit lod (Vertex shader) | ||||
* | r600g: enable vertex samplers. | Dave Airlie | 2010-10-11 | 4 | -9/+21 |
| | | | | | | | | 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. | ||||
* | r600g: evergreen has no request size bit in texture word4 | Dave Airlie | 2010-10-11 | 2 | -4/+0 |
| | |||||
* | r600g: fix input/output Z export mixup for evergreen. | Dave Airlie | 2010-10-11 | 1 | -1/+1 |
| | |||||
* | r600g: drop width/height per level storage. | Dave Airlie | 2010-10-08 | 2 | -6/+0 |
| | | | | these aren't used anywhere, so just waste memory. | ||||
* | r600g: add some RG texture format support. | Dave Airlie | 2010-10-08 | 2 | -0/+28 |
| | |||||
* | r600g: fix Z export enable bits. | Dave Airlie | 2010-10-07 | 1 | -1/+1 |
| | | | | | | we should be checking output array not input to decide. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: use format from the sampler view not from the texture. | Dave Airlie | 2010-10-07 | 2 | -6/+6 |
| | | | | | we want to use the format from the sampler view which isn't always the same as the texture format when creating sampler views. | ||||
* | r600g: fix evergreen interpolation setup | Andre Maasikas | 2010-10-07 | 1 | -0/+3 |
| | | | | | | | | 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) | ||||
* | r600g: add evergreen stencil support. | Dave Airlie | 2010-10-06 | 2 | -2/+24 |
| | | | | this sets the stencil up for evergreen properly. | ||||
* | r600g: userspace fence to avoid kernel call for testing bo busy status | Jerome Glisse | 2010-10-05 | 1 | -0/+4 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: simplify block relocation | Jerome Glisse | 2010-10-05 | 1 | -3/+2 |
| | | | | | | | Since flush rework there could be only one relocation per register in a block. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: use dirty list to track dirty blocks | Bas Nieuwenhuizen | 2010-10-05 | 1 | -0/+2 |
| | | | | 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. | ||||
* | r600g: improve bo flushing | Jerome Glisse | 2010-10-05 | 1 | -0/+3 |
| | | | | | | | | | 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 <[email protected]> | ||||
* | r600g: drop use_mem_constant. | Dave Airlie | 2010-10-05 | 6 | -11/+3 |
| | | | | since we plan on using dx10 constant buffers everywhere. | ||||
* | r600g: allow r600_bo to be a sub allocation of a big bo | Jerome Glisse | 2010-10-04 | 4 | -24/+33 |
| | | | | | | | Add bo offset everywhere needed if r600_bo is ever a sub bo of a bigger bo. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: rename radeon_ws_bo to r600_bo | Jerome Glisse | 2010-10-04 | 8 | -42/+42 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: the code to check whether a new vertex shader is needed was wrong | Dave Airlie | 2010-10-04 | 1 | -1/+3 |
| | | | | | | | this code was memcmp'ing two structs, but refcounting one of them afterwards, so any subsequent memcmp was never going to work. again this stops unnecessary uploads of vertex program, | ||||
* | r600g: Remove unnecessary headers. | Vinson Lee | 2010-10-01 | 2 | -3/+0 |
| | |||||
* | r600g: Remove unused variable. | Vinson Lee | 2010-10-01 | 1 | -1/+1 |
| | | | | | | Fixes this GCC warning. r600_shader.c: In function 'tgsi_split_literal_constant': r600_shader.c:818: warning: unused variable 'index' | ||||
* | r600g: indentation fixes | Jerome Glisse | 2010-10-01 | 5 | -58/+57 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: setup basic loop consts on r600 + evergreen. | Dave Airlie | 2010-10-01 | 4 | -0/+19 |
| | | | | this sets up a single loop constant like r600c does. | ||||
* | r600g: only set the Z export if shader exports it. | Dave Airlie | 2010-10-01 | 2 | -8/+10 |
| | |||||
* | r600g: fix evergreen draw-buffers | Dave Airlie | 2010-10-01 | 1 | -1/+1 |
| | | | | just a typo in the register headers. | ||||
* | r600g: add cb flushing for extra buffers + depth buffer on r600/evergreen | Dave Airlie | 2010-10-01 | 1 | -3/+12 |
| | |||||
* | r600g: fixup vertex format picking. | Dave Airlie | 2010-10-01 | 6 | -144/+407 |
| | | | | there are some vertex formats defined in r600c not in the docs. | ||||
* | r600g: add assembler support for other vtx fetch fields. | Dave Airlie | 2010-10-01 | 3 | -1/+11 |
| | | | | | this shouldn't change behaviour, just push the choice of what to do out to the shader. | ||||
* | r600g: realign evergreen code with r600 code. | Dave Airlie | 2010-10-01 | 1 | -3/+4 |
| | | | | fixes segfault in depth-tex-modes-glsl and OA startup. | ||||
* | r600g: add reloc for evergreen color attrib | Dave Airlie | 2010-10-01 | 1 | -1/+1 |
| | | | | we'll need this for color tiling on evergreen. | ||||
* | r600g: drop depth quirk on evergreen | Dave Airlie | 2010-10-01 | 1 | -15/+0 |
| | | | | none of the EG cards need the quirk. | ||||
* | r600g: add winsys support for CTL constants. | Dave Airlie | 2010-10-01 | 4 | -0/+13 |
| | | | | | These need to be emitted, we also need them to do proper vtx start, instead of abusing index offset. | ||||
* | r600g: fix evergreen depth flushing. | Dave Airlie | 2010-10-01 | 5 | -48/+98 |
| | | | | | although evergreen can apparantly sample direct from 24-bit, just make it work with the current method for now. | ||||
* | r600g: fix constant & literal src splitting, also fix mplayer gl2 shader | Jerome Glisse | 2010-09-30 | 1 | -16/+40 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: use constant buffer instead of register for constant | Jerome Glisse | 2010-09-30 | 2 | -26/+26 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: return string for chip family | Dave Airlie | 2010-09-30 | 1 | -6/+25 |
| | | | | use same strings as r600c. | ||||
* | r600g: clean up some code from move to new paths. | Dave Airlie | 2010-09-30 | 7 | -42/+42 |
| | | | | mainly remove 2 suffix from function names |