OSDN Git Service

R600/SI: fix MIMG writemask adjustement
authorTom Stellard <thomas.stellard@amd.com>
Wed, 23 Oct 2013 02:53:47 +0000 (02:53 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 23 Oct 2013 02:53:47 +0000 (02:53 +0000)
commit96b5670cf454a586bee6d364fa91398c2e085852
tree9fe34e5905e94884ab47d23ba7fba5fe386d2fc2
parentf95b1621887e3409ceec2db47e1b44271d934735
R600/SI: fix MIMG writemask adjustement

This fixes piglit:
- shaders/glsl-fs-texture2d-masked
- shaders/glsl-fs-texture2d-masked-4

Patch by: Marek Olšák

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193222 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIISelLowering.cpp
test/CodeGen/R600/llvm.SI.sample-masked.ll [new file with mode: 0644]