Age | Commit message (Collapse) | Author |
|
these aren't used anywhere, so just waste memory.
|
|
|
|
we should be checking output array not input to decide.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
we want to use the format from the sampler view which isn't always the
same as the texture format when creating sampler views.
|
|
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)
|
|
this sets the stencil up for evergreen properly.
|
|
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
Since flush rework there could be only one relocation per
register in a block.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
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.
|
|
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>
|
|
since we plan on using dx10 constant buffers everywhere.
|
|
Add bo offset everywhere needed if r600_bo is ever a sub bo
of a bigger bo.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
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,
|
|
|
|
Fixes this GCC warning.
r600_shader.c: In function 'tgsi_split_literal_constant':
r600_shader.c:818: warning: unused variable 'index'
|
|
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
this sets up a single loop constant like r600c does.
|
|
|
|
just a typo in the register headers.
|
|
|
|
there are some vertex formats defined in r600c not in the docs.
|
|
this shouldn't change behaviour, just push the choice of what
to do out to the shader.
|
|
fixes segfault in depth-tex-modes-glsl and OA startup.
|
|
we'll need this for color tiling on evergreen.
|
|
none of the EG cards need the quirk.
|
|
These need to be emitted, we also need them to do proper vtx start,
instead of abusing index offset.
|
|
although evergreen can apparantly sample direct from 24-bit,
just make it work with the current method for now.
|
|
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
use same strings as r600c.
|
|
mainly remove 2 suffix from function names
|
|
fixes texEnv warnings.
|
|
|
|
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
Fixes SCons build.
|
|
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
This is a follow-up to commit 9c284b5cae916a083d17d1039d2f2da128b47882.
Fixes SCons build.
|
|
Lot of clean can now happen.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
Instead of creating group of register use a hash table
to lookup into which block each register belongs. This
simplify code a bit.
Signed-off-by: Jerome Glisse <jglisse@redhat.com
|
|
This reverts commit 914b669b082258fc05d0fec047b69949d88585c4.
I didn't mean to commit this yet, will redo in new state system once
we clean it up.
|
|
this fixes draw-elements-base-vertex
|
|
|
|
|
|
|
|
This fixes a buffer leak.
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
|
|
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|