2
// Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
3
// Use of this source code is governed by a BSD-style license that can be
4
// found in the LICENSE file.
7
#include "compiler/timing/RestrictVertexShaderTiming.h"
9
void RestrictVertexShaderTiming::visitSymbol(TIntermSymbol* node)
11
if (IsSampler(node->getBasicType())) {
13
mSink.prefix(EPrefixError);
14
mSink.location(node->getLine());
15
mSink << "Samplers are not permitted in vertex shaders.\n";