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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user