From patchwork Thu Apr 25 19:08:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Gall X-Patchwork-Id: 16411 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4D2B32395D for ; Thu, 25 Apr 2013 19:10:22 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id ox1sf2789740veb.11 for ; Thu, 25 Apr 2013 12:09:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=m5+1ayAT+Is0dfaKhukyZj6RBeQiqDv/znY5T02isvA=; b=RsL51DXunv59mM5bq7IKZPBFRHTMViIltt0NO32twevJy+AO9E43sIjsSgaW/SGLdz vyDwdkqlSa8WD7W0GSZQ9/V5ARopCnz717hK7B2HcbtuKeFnUbaKOa747sH3Y2zmM1Ui SFq+LiyRr1cmjORZMFkm+2Xpzu8lZY3ILhHDOTotedKgFyo5U6jW9vNhIzOTmFhJuD5M yIprU3BfjBDLMaun9Ajp11mMPtjcwunb4GeQfaZI6avlggWW3o3Y+MhwOn5CmksXptbT 8r7EMeYSS8FNs8hPBhtODwB9UPTXgUPyk2mJqT5vlHAu0fZLrnFSXQWCk9emYN6q4053 7Tyg== X-Received: by 10.224.215.194 with SMTP id hf2mr27628907qab.0.1366916968086; Thu, 25 Apr 2013 12:09:28 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.26.37 with SMTP id i5ls1561380qeg.81.gmail; Thu, 25 Apr 2013 12:09:27 -0700 (PDT) X-Received: by 10.52.17.102 with SMTP id n6mr14194135vdd.109.1366916967829; Thu, 25 Apr 2013 12:09:27 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id sc6si3870682vdc.8.2013.04.25.12.09.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Apr 2013 12:09:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id hr11so1801137vcb.26 for ; Thu, 25 Apr 2013 12:09:27 -0700 (PDT) X-Received: by 10.52.69.109 with SMTP id d13mr1322596vdu.75.1366916967747; Thu, 25 Apr 2013 12:09:27 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp36422veb; Thu, 25 Apr 2013 12:09:27 -0700 (PDT) X-Received: by 10.50.29.113 with SMTP id j17mr20469938igh.91.1366916967040; Thu, 25 Apr 2013 12:09:27 -0700 (PDT) Received: from mail-ia0-x22a.google.com (mail-ia0-x22a.google.com [2607:f8b0:4001:c02::22a]) by mx.google.com with ESMTPS id bj6si32868015igb.52.2013.04.25.12.09.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Apr 2013 12:09:27 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:4001:c02::22a is neither permitted nor denied by best guess record for domain of tom.gall@linaro.org) client-ip=2607:f8b0:4001:c02::22a; Received: by mail-ia0-f170.google.com with SMTP id 21so3094343iay.29 for ; Thu, 25 Apr 2013 12:09:26 -0700 (PDT) X-Received: by 10.50.118.7 with SMTP id ki7mr24214147igb.35.1366916966198; Thu, 25 Apr 2013 12:09:26 -0700 (PDT) Received: from localhost.localdomain ([70.35.96.184]) by mx.google.com with ESMTPSA id wx2sm14271525igb.4.2013.04.25.12.09.25 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Apr 2013 12:09:25 -0700 (PDT) From: Tom Gall To: piglit@lists.freedesktop.org Cc: patches@linaro.org, Tom Gall Subject: [PATCH 1/2] Add outerProduct existance test for glsl es 1.00 Date: Thu, 25 Apr 2013 14:08:57 -0500 Message-Id: <1366916938-8860-1-git-send-email-tom.gall@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQkSMKCuXLBf7daEC81fxDyLUNGhNz3vAf8hxiWWaUVa13pmEyLndgIzICTY/cMh+ljWdDTI X-Original-Sender: tom.gall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , outerProduct is available with glsl es 3.00 but not with glsl es 1.00. http://www.khronos.org/opengles/sdk/docs/manglsl/xhtml/outerProduct.xml Signed-off-by: Tom Gall --- .../compiler/built-in-functions/outerProduct-vec2.vert | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-vec2.vert diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-vec2.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-vec2.vert new file mode 100644 index 0000000..bcdac9e --- /dev/null +++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-vec2.vert @@ -0,0 +1,12 @@ +/* [config] + * expect_result: fail + * glsl_version: 1.00 + * [end config] + * outerProduct is not available in OpenGL SL 1.00. It is + * available in OpenGL SL 3.00. + * http://www.khronos.org/opengles/sdk/docs/manglsl/xhtml/outerProduct.xml + */ +void main () { + gl_Position = vec4(0); + outerProduct(vec2(0), vec2(0)); +}