summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nouveau_context.h
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2016-04-21 15:43:51 +0200
committerHans de Goede <[email protected]>2016-04-25 11:45:07 +0200
commit787a53988cc6bb7a0f2b43c216837d683336b33f (patch)
treed686b44932ed464e6865a4cb231bec98588ba482 /src/gallium/drivers/nouveau/nouveau_context.h
parent0831eb94b9adde3f1542ca75a1f80dbe165b8f31 (diff)
nouveau: codegen: combineLd/St do not combine indirect loads
combineLd/St would combine, i.e. : st u32 # g[$r2+0x0] $r2 st u32 # g[$r2+0x4] $r3 into: st u64 # g[$r2+0x0] $r2d But this is only valid if r2 contains an 8 byte aligned address, which is not guaranteed for compute shaders This commit checks for src0 dim 0 not being indirect when combining loads / stores as combining indirect loads / stores may break alignment rules. Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_context.h')
0 files changed, 0 insertions, 0 deletions