summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2012-08-21 13:48:18 +0200
committerMichel Dänzer <[email protected]>2012-08-21 15:42:25 +0200
commit1a25ebe3ce95a6a4aef7c844dbe95909976b68da (patch)
tree9054e15756548d5b02755a285f218704a2d9a60d /src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp
parentc1114c619acf347917565cd1d0467240a89a76c0 (diff)
radeonsi: Handle NULL sampler views getting passed in by the state tracker.
Don't dereference NULL pointers, and if all views are NULL, don't generate an invalid PM4 packet which locks up the GPU. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions