GLES2: uniform struct{sampler} as a function arg
authorKai Ninomiya <kainino@chromium.org>
Sat, 27 Jan 2018 02:38:36 +0000 (18:38 -0800)
committerKai Ninomiya <kainino@chromium.org>
Mon, 29 Jan 2018 18:53:55 +0000 (10:53 -0800)
commitad69c848f72ef12b1c754e573cec37b73f4e28c2
treed868dfa48e0ded513b8afade84528f022a006cc6
parent073a0ffc99d3503013cbf80117d0e16c147a8810
GLES2: uniform struct{sampler} as a function arg

(Some of?) these tests failed on Pixel2016/7.0 (they were
fixed in 8.0 and pass on Pixel2016/8.1):
  https://crbug.com/695680
This is a port from WebGL:
  https://github.com/KhronosGroup/WebGL/blob/master/sdk/tests/conformance/glsl/bugs/sampler-struct-function-arg.html

New tests:
  dEQP-GLES2.functional.shaders.struct.uniform.sampler_in_function_arg_vertex
  dEQP-GLES2.functional.shaders.struct.uniform.sampler_in_function_arg_fragment
  dEQP-GLES2.functional.shaders.struct.uniform.sampler_in_array_function_arg_vertex
  dEQP-GLES2.functional.shaders.struct.uniform.sampler_in_array_function_arg_fragment
Components: AOSP

Change-Id: Ic71a7969c9bcf481c12b95a99e6379cfec659a8e
android/cts/master/gles2-master.txt
modules/gles2/functional/es2fShaderStructTests.cpp