blob: 9f792e8e988901c1b2518c536dc8c5e175062cac [file] [log] [blame]
//
// Copyright 2018 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// validationES31.h:
// Inlined validation functions for OpenGL ES 3.1 entry points.
#ifndef LIBANGLE_VALIDATION_ES31_H_
#define LIBANGLE_VALIDATION_ES31_H_
#include "libANGLE/ErrorStrings.h"
#include "libANGLE/validationES31_autogen.h"
namespace gl
{
bool ValidateTexBufferBase(const Context *context,
TextureType target,
GLenum internalformat,
BufferID bufferPacked);
bool ValidateTexBufferRangeBase(const Context *context,
TextureType target,
GLenum internalformat,
BufferID bufferPacked,
GLintptr offset,
GLsizeiptr size);
} // namespace gl
#endif // LIBANGLE_VALIDATION_ES31_H_