nv50/ir: do not insert texture barriers on gm107
It's actually useless to insert those texture barriers post RA because the current control code (ie. st 0x0) will wait for all dependencies before issuing a new instruction. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Pierre Moreau <pierre.morrow@free.fr>
This commit is contained in:
@@ -190,7 +190,8 @@ NVC0LegalizePostRA::NVC0LegalizePostRA(const Program *prog)
|
||||
: rZero(NULL),
|
||||
carry(NULL),
|
||||
pOne(NULL),
|
||||
needTexBar(prog->getTarget()->getChipset() >= 0xe0)
|
||||
needTexBar(prog->getTarget()->getChipset() >= 0xe0 &&
|
||||
prog->getTarget()->getChipset() < 0x110)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user