From: Jarkko Pöyry Date: Mon, 9 Feb 2015 19:23:06 +0000 (-0800) Subject: Convert broken flat -> smooth varying linkage test to a negative test. X-Git-Tag: upstream/0.1.0~1975^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b085647eb5241d5ad184bd76fac9db1b48fb3cb3;p=platform%2Fupstream%2FVK-GL-CTS.git Convert broken flat -> smooth varying linkage test to a negative test. Bug: 19298732 Change-Id: I47a31ce9254da9ab09572c0e8be4da43ad33e635 --- diff --git a/data/gles3/shaders/linkage.test b/data/gles3/shaders/linkage.test index 89d418031..63206a209 100644 --- a/data/gles3/shaders/linkage.test +++ b/data/gles3/shaders/linkage.test @@ -464,19 +464,16 @@ group varying "Varying linkage" "" end - # different interpolation - case differing_interpolation_1 + # interpolation_mismatch + case interpolation_mismatch_1 version 300 es desc "varying interpolation different (flat vs. smooth)" - values - { - input float in0 = [ -1.25 | -25.0 | 1.0 | 2.25 | 3.4 | 16.0 ]; - output float out0 = [ -1.25 | -25.0 | 1.0 | 2.25 | 3.4 | 16.0 ]; - } + expect link_fail vertex "" #version 300 es ${VERTEX_DECLARATIONS} + in highp float in0; flat out mediump float var; void main() { @@ -491,8 +488,7 @@ group varying "Varying linkage" in mediump float var; void main() { - out0 = var; - ${FRAGMENT_OUTPUT} + ${FRAG_COLOR} = vec4(var); } "" end