P4 to Git Change 1291732 by gandryey@gera-w8 on 2016/07/14 17:33:57

SWDEV-95911 - OpenCL on PAL - Mipmaps
	- Fix failures with mipmaps

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#5 edit
This commit is contained in:
foreman
2016-07-14 18:10:35 -04:00
parent db0d2adeae
commit 5541f6a307
3 changed files with 9 additions and 2 deletions
+1
View File
@@ -1890,6 +1890,7 @@ Device::fillHwSampler(
samplerInfo.filter.zFilter = Pal::XyFilterPoint;
samplerInfo.flags.unnormalizedCoords = !(state & amd::Sampler::StateNormalizedCoordsMask);
samplerInfo.maxLod = 4096.0f;
state &= ~amd::Sampler::StateNormalizedCoordsMask;