1e5c31af7Sopenharmony_ci#ifndef _GL4CSPIRVEXTENSIONSTESTS_HPP 2e5c31af7Sopenharmony_ci#define _GL4CSPIRVEXTENSIONSTESTS_HPP 3e5c31af7Sopenharmony_ci/*------------------------------------------------------------------------- 4e5c31af7Sopenharmony_ci * OpenGL Conformance Test Suite 5e5c31af7Sopenharmony_ci * ----------------------------- 6e5c31af7Sopenharmony_ci * 7e5c31af7Sopenharmony_ci * Copyright (c) 2017 The Khronos Group Inc. 8e5c31af7Sopenharmony_ci * 9e5c31af7Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 10e5c31af7Sopenharmony_ci * you may not use this file except in compliance with the License. 11e5c31af7Sopenharmony_ci * You may obtain a copy of the License at 12e5c31af7Sopenharmony_ci * 13e5c31af7Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 14e5c31af7Sopenharmony_ci * 15e5c31af7Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 16e5c31af7Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 17e5c31af7Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18e5c31af7Sopenharmony_ci * See the License for the specific language governing permissions and 19e5c31af7Sopenharmony_ci * limitations under the License. 20e5c31af7Sopenharmony_ci * 21e5c31af7Sopenharmony_ci */ /*! 22e5c31af7Sopenharmony_ci * \file 23e5c31af7Sopenharmony_ci * \brief 24e5c31af7Sopenharmony_ci */ /*-------------------------------------------------------------------*/ 25e5c31af7Sopenharmony_ci 26e5c31af7Sopenharmony_ci/** 27e5c31af7Sopenharmony_ci */ /*! 28e5c31af7Sopenharmony_ci * \file gl4cSpirvExtensionsTests.cpp 29e5c31af7Sopenharmony_ci * \brief Conformance tests for the GL_ARB_spirv_extensions functionality. 30e5c31af7Sopenharmony_ci */ /*-------------------------------------------------------------------*/ 31e5c31af7Sopenharmony_ci 32e5c31af7Sopenharmony_ci#include "glcTestCase.hpp" 33e5c31af7Sopenharmony_ci#include "glwDefs.hpp" 34e5c31af7Sopenharmony_ci#include "glwEnums.hpp" 35e5c31af7Sopenharmony_ci#include "tcuDefs.hpp" 36e5c31af7Sopenharmony_ci 37e5c31af7Sopenharmony_ciusing namespace glw; 38e5c31af7Sopenharmony_ciusing namespace glu; 39e5c31af7Sopenharmony_ci 40e5c31af7Sopenharmony_cinamespace gl4cts 41e5c31af7Sopenharmony_ci{ 42e5c31af7Sopenharmony_ci 43e5c31af7Sopenharmony_ci/** Test verifies GetIntegerv query for NUM_SPIR_V_EXTENSIONS <pname> 44e5c31af7Sopenharmony_ci * and GetStringi query for SPIR_V_EXTENSIONS <pname> 45e5c31af7Sopenharmony_ci **/ 46e5c31af7Sopenharmony_ciclass SpirvExtensionsQueriesTestCase : public deqp::TestCase 47e5c31af7Sopenharmony_ci{ 48e5c31af7Sopenharmony_cipublic: 49e5c31af7Sopenharmony_ci /* Public methods */ 50e5c31af7Sopenharmony_ci SpirvExtensionsQueriesTestCase(deqp::Context& context); 51e5c31af7Sopenharmony_ci 52e5c31af7Sopenharmony_ci void init(); 53e5c31af7Sopenharmony_ci tcu::TestNode::IterateResult iterate(); 54e5c31af7Sopenharmony_ci 55e5c31af7Sopenharmony_ciprivate: 56e5c31af7Sopenharmony_ci /* Private members */ 57e5c31af7Sopenharmony_ci /* Private methods */ 58e5c31af7Sopenharmony_ci}; 59e5c31af7Sopenharmony_ci 60e5c31af7Sopenharmony_ci/** Test group which encapsulates spirv extensions conformance tests */ 61e5c31af7Sopenharmony_ciclass SpirvExtensionsTests : public deqp::TestCaseGroup 62e5c31af7Sopenharmony_ci{ 63e5c31af7Sopenharmony_cipublic: 64e5c31af7Sopenharmony_ci /* Public methods */ 65e5c31af7Sopenharmony_ci SpirvExtensionsTests(deqp::Context& context); 66e5c31af7Sopenharmony_ci 67e5c31af7Sopenharmony_ci void init(); 68e5c31af7Sopenharmony_ci 69e5c31af7Sopenharmony_ciprivate: 70e5c31af7Sopenharmony_ci SpirvExtensionsTests(const SpirvExtensionsTests& other); 71e5c31af7Sopenharmony_ci SpirvExtensionsTests& operator=(const SpirvExtensionsTests& other); 72e5c31af7Sopenharmony_ci}; 73e5c31af7Sopenharmony_ci 74e5c31af7Sopenharmony_ci} /* gl4cts namespace */ 75e5c31af7Sopenharmony_ci 76e5c31af7Sopenharmony_ci#endif // _GL4CSPIRVEXTENSIONSTESTS_HPP 77