blob: 39b348ad21d43548be8b794f0d0605caa5de9c7d [file] [log] [blame] [edit]
#ifndef _ES31FSHADERATOMICOPTESTS_HPP
#define _ES31FSHADERATOMICOPTESTS_HPP
/*-------------------------------------------------------------------------
* drawElements Quality Program OpenGL ES 3.1 Module
* -------------------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*//*!
* \file
* \brief Shader atomic operation tests.
*//*--------------------------------------------------------------------*/
#include "tcuDefs.hpp"
#include "tes31TestCase.hpp"
namespace deqp
{
namespace gles31
{
namespace Functional
{
enum AtomicOperandType
{
ATOMIC_OPERAND_BUFFER_VARIABLE = 0, //!< Variable in SSBO
ATOMIC_OPERAND_SHARED_VARIABLE, //!< Shared variable.
ATOMIC_OPERAND_TYPE_LAST
};
class ShaderAtomicOpTests : public TestCaseGroup
{
public:
ShaderAtomicOpTests (Context& context, const char* name, AtomicOperandType operandType);
~ShaderAtomicOpTests (void);
void init (void);
private:
ShaderAtomicOpTests (const ShaderAtomicOpTests& other);
ShaderAtomicOpTests& operator= (const ShaderAtomicOpTests& other);
const AtomicOperandType m_operandType;
};
} // Functional
} // gles31
} // deqp
#endif // _ES31FSHADERATOMICOPTESTS_HPP