HLSL: Additional channel value for textureGatherXXX().
authorRex Xu <rex.xu@amd.com>
Mon, 13 Mar 2017 09:07:18 +0000 (17:07 +0800)
committerRex Xu <rex.xu@amd.com>
Mon, 13 Mar 2017 09:07:18 +0000 (17:07 +0800)
commitd41a696c30b916128d6fa7b7fb28ea4e09bdb27d
treebe16ee8e4d445d4a5a2364103d38b1192f4dc55f
parentb16f7e6819267e57c3c244808d1981f0ce34acbc
HLSL: Additional channel value for textureGatherXXX().

When mapping HLSL gather intrinsics to GLSL textureGatherXXX() built-in
function, the channel selection value is only valid for non-shadow samplers.
Test/baseResults/hlsl.gathercmpRGBA.offset.dx10.frag.out
hlsl/hlslParseHelper.cpp