external/vulkancts/modules/vulkan/multiview/vktMultiViewRenderTests.cpp \
external/vulkancts/modules/vulkan/multiview/vktMultiViewRenderUtil.cpp \
external/vulkancts/modules/vulkan/multiview/vktMultiViewTests.cpp \
+ external/vulkancts/modules/vulkan/pch.cpp \
external/vulkancts/modules/vulkan/pipeline/vktPipelineBlendTests.cpp \
external/vulkancts/modules/vulkan/pipeline/vktPipelineCacheTests.cpp \
external/vulkancts/modules/vulkan/pipeline/vktPipelineClearUtil.cpp \
framework/delibs/decpp/deThreadLocal.cpp \
framework/delibs/decpp/deThreadSafeRingBuffer.cpp \
framework/delibs/decpp/deUniquePtr.cpp \
+ framework/delibs/decpp/pch.cpp \
framework/delibs/deimage/deImage.c \
framework/delibs/deimage/deTarga.c \
framework/delibs/depool/deMemPool.c \
modules/internal/ditTestPackage.cpp \
modules/internal/ditTestPackageEntry.cpp \
modules/internal/ditTextureFormatTests.cpp \
- modules/internal/ditVulkanTests.cpp
+ modules/internal/ditVulkanTests.cpp \
+ modules/pch.cpp
LOCAL_C_INCLUDES := \
$(deqp_dir)/execserver \
$(deqp_dir)/external/vulkancts/modules/vulkan/memory \
$(deqp_dir)/external/vulkancts/modules/vulkan/memory_model \
$(deqp_dir)/external/vulkancts/modules/vulkan/multiview \
+ $(deqp_dir)/external/vulkancts/modules/vulkan \
$(deqp_dir)/external/vulkancts/modules/vulkan/pipeline \
$(deqp_dir)/external/vulkancts/modules/vulkan/protected_memory \
$(deqp_dir)/external/vulkancts/modules/vulkan/query_pool \
$(deqp_dir)/external/vulkancts/modules/vulkan/texture \
$(deqp_dir)/external/vulkancts/modules/vulkan/ubo \
$(deqp_dir)/external/vulkancts/modules/vulkan/util \
- $(deqp_dir)/external/vulkancts/modules/vulkan \
$(deqp_dir)/external/vulkancts/modules/vulkan/wsi \
$(deqp_dir)/external/vulkancts/modules/vulkan/ycbcr \
$(deqp_dir)/framework/common \
$(deqp_dir)/modules/gles31/stress \
$(deqp_dir)/modules/gles31 \
$(deqp_dir)/modules/glshared \
- $(deqp_dir)/modules/internal
+ $(deqp_dir)/modules/internal \
+ $(deqp_dir)/modules
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_SCL_SECURE_NO_WARNINGS")
endif ()
+# Precompiled header macro. Parameters are source file list and filename for pch cpp file.
+macro(PCH SRCS PCHCPP)
+ if(MSVC)
+ if (CMAKE_GENERATOR MATCHES "^Visual Studio")
+ set(PCH_NAME "$(IntDir)\\pch.pch")
+ else()
+ set(PCH_NAME "pch.pch")
+ endif()
+ # make source files use/depend on PCH_NAME
+ set_source_files_properties(${${SRCS}} PROPERTIES COMPILE_FLAGS "/Yupch.h /FIpch.h /Fp${PCH_NAME}" OBJECT_DEPENDS "${PCH_NAME}")
+ # make PCHCPP file compile and generate PCH_NAME
+ set_source_files_properties(${PCHCPP} PROPERTIES COMPILE_FLAGS "/Ycpch.h /Fp${PCH_NAME}" OBJECT_OUTPUTS "${PCH_NAME}")
+ list(APPEND ${SRCS} "${PCHCPP}")
+ endif()
+endmacro(PCH)
+
# delibs projects
add_subdirectory(framework/delibs/debase)
add_subdirectory(framework/delibs/depool)
gles32
glesext
.
+ ${PROJECT_SOURCE_DIR}/modules/glshared
)
if (DEQP_GTF_AVAILABLE)
add_definitions(-DGLCTS_SUPPORT_WGL=1)
endif ()
-include_directories(
- ${PROJECT_SOURCE_DIR}/modules/glshared
- )
-
set(GLCTS_COMMON_SRCS
glcAggressiveShaderOptimizationsTests.cpp
glcAggressiveShaderOptimizationsTests.hpp
eglutil
)
+PCH(GLCTS_COMMON_SRCS ../pch.cpp)
+
add_library(glcts-common STATIC ${GLCTS_COMMON_SRCS})
target_link_libraries(glcts-common ${GLCTS_COMMON_LIBS})
list(APPEND GLCTS_GL_LIBS glcts-gtf)
endif ()
+PCH(GLCTS_GL_SRCS ../pch.cpp)
+
add_library(glcts-gl STATIC ${GLCTS_GL_SRCS})
target_link_libraries(glcts-gl ${GLCTS_GL_LIBS})
tcutil
)
+PCH(GLCTS_ES31_SRCS ../pch.cpp)
+
add_library(glcts-es31 STATIC ${GLCTS_ES31_SRCS} ${GLCTS_DEQP_GLES31_SRCS})
target_link_libraries(glcts-es31 ${GLCTS_ES31_LIBS})
#set(GLCTS_ESEXT_LIBS ${GLCTS_ESEXT_LIBS} glcts-gtf)
+PCH(GLCTS_ESEXT_SRCS ../pch.cpp)
+
add_library(glcts-esext STATIC ${GLCTS_ESEXT_SRCS})
target_link_libraries(glcts-esext ${GLCTS_ESEXT_LIBS})
--- /dev/null
+// Copyright (c) 2018 The Khronos Group Inc.
+//
+// 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.
+
+#include "pch.h"
--- /dev/null
+#ifndef _PCH_H
+#define _PCH_H
+// Copyright (c) 2018 The Khronos Group Inc.
+//
+// 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.
+
+#include "glsFragmentOpUtil.hpp"
+#include "glsShaderLibrary.hpp"
+#include "glsStateQueryUtil.hpp"
+#include "glsTextureTestUtil.hpp"
+#include "gluPixelTransfer.hpp"
+#include "gluStrUtil.hpp"
+#include "gluObjectWrapper.hpp"
+#include "gluContextInfo.hpp"
+#include "gluPixelTransfer.hpp"
+#include "gluRenderContext.hpp"
+#include "gluShaderProgram.hpp"
+#include "gluCallLogWrapper.hpp"
+#include "gluStrUtil.hpp"
+#include "tcuPixelFormat.hpp"
+#include "tcuEither.hpp"
+#include "tcuImageCompare.hpp"
+#include "tcuMaybe.hpp"
+#include "tcuResultCollector.hpp"
+#include "tcuStringTemplate.hpp"
+#include "tcuTestLog.hpp"
+#include "tcuTexture.hpp"
+#include "tcuTextureUtil.hpp"
+#include "tcuVector.hpp"
+#include "tcuVectorUtil.hpp"
+#include "tcuFloat.hpp"
+#include "deRandom.hpp"
+#include "deStringUtil.hpp"
+#include "rrFragmentOperations.hpp"
+#include "rrMultisamplePixelBufferAccess.hpp"
+#include "rrRenderer.hpp"
+#include "sglrGLContext.hpp"
+#include "sglrReferenceContext.hpp"
+#include "sglrReferenceUtils.hpp"
+#include "glwEnums.hpp"
+#include "glwFunctions.hpp"
+#endif /* _PCH_H */
set(VKUTIL_LIBS ${VKUTIL_LIBS} SPIRV-Tools SPIRV-Tools-opt)
endif()
+PCH(VKUTILNOSHADER_SRCS ../../modules/vulkan/pch.cpp)
+PCH(VKUTIL_SRCS ../../modules/vulkan/pch.cpp)
+
add_library(vkutilnoshader STATIC ${VKUTILNOSHADER_SRCS})
target_link_libraries(vkutilnoshader ${VKUTILNOSHADER_LIBS})
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LARGEADDRESSAWARE")
endif ()
+PCH(DEQP_VK_SRCS pch.cpp)
+
add_deqp_module(deqp-vk "${DEQP_VK_SRCS}" "${DEQP_VK_LIBS}" vktTestPackageEntry.cpp)
add_data_dir(deqp-vk ../../data/vulkan vulkan)
vkutil
)
+PCH(DEQP_VK_API_SRCS ../pch.cpp)
+
add_library(deqp-vk-api STATIC ${DEQP_VK_API_SRCS})
target_link_libraries(deqp-vk-api ${DEQP_VK_API_LIBS})
vkutil
)
+PCH(DEQP_VK_BINDING_MODEL_SRCS ../pch.cpp)
+
add_library(deqp-vk-binding-model STATIC ${DEQP_VK_BINDING_MODEL_SRCS})
target_link_libraries(deqp-vk-binding-model ${DEQP_VK_BINDING_MODEL_LIBS})
vkutil
)
+PCH(DEQP_VK_COMPUTE_SRCS ../pch.cpp)
+
add_library(deqp-vk-compute STATIC ${DEQP_VK_COMPUTE_SRCS})
target_link_libraries(deqp-vk-compute ${DEQP_VK_COMPUTE_LIBS})
vkutil
)
+PCH(DEQP_VK_DRAW_SRCS ../pch.cpp)
+
add_library(deqp-vk-draw STATIC ${DEQP_VK_DRAW_SRCS})
target_link_libraries(deqp-vk-draw ${DEQP_VK_DRAW_LIBS})
vkutil
)
+PCH(DEQP_VK_DYNAMIC_STATE_SRCS ../pch.cpp)
+
add_library(deqp-vk-dynamic-state STATIC ${DEQP_VK_DYNAMIC_STATE_SRCS})
target_link_libraries(deqp-vk-dynamic-state ${DEQP_VK_DYNAMIC_STATE_LIBS})
vkutil
)
+PCH(DEQP_VK_FRAGMENT_OPS_SRCS ../pch.cpp)
+
add_library(deqp-vk-fragment-ops STATIC ${DEQP_VK_FRAGMENT_OPS_SRCS})
target_link_libraries(deqp-vk-fragment-ops ${DEQP_VK_FRAGMENT_OPS_LIBS})
vkutil
)
+PCH(DEQP_VK_GEOMETRY_SRCS ../pch.cpp)
+
add_library(deqp-vk-geometry STATIC ${DEQP_VK_GEOMETRY_SRCS})
target_link_libraries(deqp-vk-geometry ${DEQP_VK_GEOMETRY_LIBS})
vkutil
)
+PCH(DEQP_VK_IMAGE_SRCS ../pch.cpp)
+
add_library(deqp-vk-image STATIC ${DEQP_VK_IMAGE_SRCS})
target_link_libraries(deqp-vk-image ${DEQP_VK_IMAGE_LIBS})
vkutil
)
+PCH(DEQP_VK_MEMORY_SRCS ../pch.cpp)
+
add_library(deqp-vk-memory STATIC ${DEQP_VK_MEMORY_SRCS})
target_link_libraries(deqp-vk-memory ${DEQP_VK_MEMORY_LIBS})
vkutil
)
+PCH(DEQP_VK_MULTI_VIEW_SRCS ../pch.cpp)
+
add_library(deqp-vk-multiview STATIC ${DEQP_VK_MULTI_VIEW_SRCS})
target_link_libraries(deqp-vk-multiview ${DEQP_VK_MULTI_VIEW_LIBS})
--- /dev/null
+// Copyright (c) 2018 The Khronos Group Inc.
+//
+// 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.
+
+#include "pch.h"
--- /dev/null
+#ifndef _PCH_H
+#define _PCH_H
+// Copyright (c) 2018 The Khronos Group Inc.
+//
+// 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.
+
+#include "vktTestCase.hpp"
+#endif /* _PCH_H */
referencerenderer
)
+PCH(DEQP_VK_PIPELINE_SRCS ../pch.cpp)
+
add_library(deqp-vk-pipeline STATIC ${DEQP_VK_PIPELINE_SRCS})
target_link_libraries(deqp-vk-pipeline ${DEQP_VK_PIPELINE_LIBS})
vkutil
)
+PCH(DEQP_VK_PROTECTED_MEMORY_SRCS ../pch.cpp)
+
add_library(deqp-vk-protected-memory STATIC ${DEQP_VK_PROTECTED_MEMORY_SRCS})
target_link_libraries(deqp-vk-protected-memory ${DEQP_VK_PROTECTED_MEMORY_LIBS})
vkutil
)
+PCH(DEQP_VK_QUERY_POOL_SRCS ../pch.cpp)
+
add_library(deqp-vk-query-pool STATIC ${DEQP_VK_QUERY_POOL_SRCS})
target_link_libraries(deqp-vk-query-pool ${DEQP_VK_QUERY_POOL_LIBS})
vkutil
)
+PCH(DEQP_VK_RENDER_PASS_SRCS ../pch.cpp)
+
add_library(deqp-vk-render-pass STATIC ${DEQP_VK_RENDER_PASS_SRCS})
target_link_libraries(deqp-vk-render-pass ${DEQP_VK_RENDER_PASS_LIBS})
vkutil
)
+PCH(DEQP_VK_ROBUSTNESS_SRCS ../pch.cpp)
+
add_library(deqp-vk-robustness STATIC ${DEQP_VK_ROBUSTNESS_SRCS})
target_link_libraries(deqp-vk-robustness ${DEQP_VK_ROBUSTNESS_LIBS})
vkutil
)
+PCH(DEQP_VK_SHADEREXECUTOR_SRCS ../pch.cpp)
+
add_library(deqp-vk-shaderexecutor STATIC ${DEQP_VK_SHADEREXECUTOR_SRCS})
target_link_libraries(deqp-vk-shaderexecutor ${DEQP_VK_SHADEREXECUTOR_LIBS})
vkutil
)
+PCH(DEQP_VK_SHADERRENDER_SRCS ../pch.cpp)
+
add_library(deqp-vk-shaderrender STATIC ${DEQP_VK_SHADERRENDER_SRCS})
target_link_libraries(deqp-vk-shaderrender ${DEQP_VK_SHADERRENDER_LIBS})
vkutil
)
+PCH(DEQP_VK_SPARSE_RESOURCES_SRCS ../pch.cpp)
+
add_library(deqp-vk-sparse-resources STATIC ${DEQP_VK_SPARSE_RESOURCES_SRCS})
target_link_libraries(deqp-vk-sparse-resources ${DEQP_VK_SPARSE_RESOURCES_LIBS})
vkutil
)
+PCH(DEQP_VK_SPIRV_ASSEMBLY_SRCS ../pch.cpp)
+
add_library(deqp-vk-spirv-assembly STATIC ${DEQP_VK_SPIRV_ASSEMBLY_SRCS})
target_link_libraries(deqp-vk-spirv-assembly ${DEQP_VK_SPIRV_ASSEMBLY_LIBS})
vkutil
)
+PCH(DEQP_VK_SUBGROUPS_SRCS ../pch.cpp)
+
add_library(deqp-vk-subgroups STATIC ${DEQP_VK_SUBGROUPS_SRCS})
target_link_libraries(deqp-vk-subgroups ${DEQP_VK_SUBGROUPS_LIBS})
vkutil
)
+PCH(DEQP_VK_SYNCHRONIZATION_SRCS ../pch.cpp)
+
add_library(deqp-vk-synchronization STATIC ${DEQP_VK_SYNCHRONIZATION_SRCS})
target_link_libraries(deqp-vk-synchronization ${DEQP_VK_SYNCHRONIZATION_LIBS})
vkutil
)
+PCH(DEQP_VK_TESSELLATION_SRCS ../pch.cpp)
+
add_library(deqp-vk-tessellation STATIC ${DEQP_VK_TESSELLATION_SRCS})
target_link_libraries(deqp-vk-tessellation ${DEQP_VK_TESSELLATION_LIBS})
vkutil
)
+PCH(DEQP_VK_TEXTURE_SRCS ../pch.cpp)
+
add_library(deqp-vk-texture STATIC ${DEQP_VK_TEXTURE_SRCS})
target_link_libraries(deqp-vk-texture ${DEQP_VK_TEXTURE_LIBS})
vkutil
)
+PCH(DEQP_VK_UBO_SRCS ../pch.cpp)
+
add_library(deqp-vk-ubo STATIC ${DEQP_VK_UBO_SRCS})
target_link_libraries(deqp-vk-ubo ${DEQP_VK_UBO_LIBS})
vkutil
)
+PCH(DEQP_VK_WSI_SRCS ../pch.cpp)
+
add_library(deqp-vk-wsi STATIC ${DEQP_VK_WSI_SRCS})
target_link_libraries(deqp-vk-wsi ${DEQP_VK_WSI_LIBS})
vkutil
)
+PCH(DEQP_VK_YCBCR_SRCS ../pch.cpp)
+
add_library(deqp-vk-ycbcr STATIC ${DEQP_VK_YCBCR_SRCS})
target_link_libraries(deqp-vk-ycbcr ${DEQP_VK_YCBCR_LIBS})
${PNG_LIBRARY}
)
+PCH(TCUTIL_SRCS ../pch.cpp)
+
add_library(tcutil STATIC ${TCUTIL_SRCS})
target_link_libraries(tcutil ${TCUTIL_LIBS} ${DEQP_PLATFORM_LIBRARIES})
deutil
)
+PCH(DECPP_SRCS pch.cpp)
+
add_library(decpp STATIC ${DECPP_SRCS})
target_link_libraries(decpp ${DECPP_LIBS})
--- /dev/null
+// Copyright (c) 2018 The Khronos Group Inc.
+//
+// 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.
+
+#include "pch.h"
--- /dev/null
+#ifndef _PCH_H
+#define _PCH_H
+// Copyright (c) 2018 The Khronos Group Inc.
+//
+// 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.
+
+#include "deRandom.hpp"
+#include "deStringUtil.hpp"
+#endif /* _PCH_H */
glwrapper
)
+PCH(GLUTIL_SRCS ../pch.cpp)
+
add_library(glutil STATIC ${GLUTIL_SRCS})
target_link_libraries(glutil ${GLUTIL_LIBS})
--- /dev/null
+// Copyright (c) 2018 The Khronos Group Inc.
+//
+// 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.
+
+#include "pch.h"
--- /dev/null
+#ifndef _PCH_H
+#define _PCH_H
+// Copyright (c) 2018 The Khronos Group Inc.
+//
+// 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.
+
+#include "gluPixelTransfer.hpp"
+#include "gluStrUtil.hpp"
+#include "gluObjectWrapper.hpp"
+#include "gluContextInfo.hpp"
+#include "gluPixelTransfer.hpp"
+#include "gluRenderContext.hpp"
+#include "gluShaderProgram.hpp"
+#include "gluCallLogWrapper.hpp"
+#include "gluStrUtil.hpp"
+#include "tcuPixelFormat.hpp"
+#include "tcuEither.hpp"
+#include "tcuImageCompare.hpp"
+#include "tcuMaybe.hpp"
+#include "tcuResultCollector.hpp"
+#include "tcuStringTemplate.hpp"
+#include "tcuTestLog.hpp"
+#include "tcuTexture.hpp"
+#include "tcuTextureUtil.hpp"
+#include "tcuVector.hpp"
+#include "tcuVectorUtil.hpp"
+#include "tcuFloat.hpp"
+#include "deRandom.hpp"
+#include "deStringUtil.hpp"
+#include "rrFragmentOperations.hpp"
+#include "rrMultisamplePixelBufferAccess.hpp"
+#include "rrRenderer.hpp"
+#include "sglrGLContext.hpp"
+#include "sglrReferenceContext.hpp"
+#include "sglrReferenceUtils.hpp"
+#include "glwEnums.hpp"
+#include "glwFunctions.hpp"
+#endif /* _PCH_H */
rsgVariableValue.hpp
)
+PCH(RSG_SRCS ../pch.cpp)
+
add_library(randomshaders STATIC ${RSG_SRCS})
target_link_libraries(randomshaders tcutil)
rrVertexPacket.hpp
)
+PCH(RR_SRCS ../pch.cpp)
+
add_library(referencerenderer STATIC ${RR_SRCS})
target_link_libraries(referencerenderer tcutil)
set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} ${DEQP_VG_LIBRARIES})
endif ()
+include_directories(
+ ../glshared
+ )
+
+PCH(DEQP_EGL_SRCS ../pch.cpp)
+
add_deqp_module(deqp-egl "${DEQP_EGL_SRCS}" "${DEQP_EGL_LIBS}" teglTestPackageEntry.cpp)
es2aVaryingInterpolationTests.hpp
)
+PCH(DEQP_GLES2_ACCURACY_SRCS ../../pch.cpp)
+
add_library(deqp-gles2-accuracy STATIC ${DEQP_GLES2_ACCURACY_SRCS})
target_link_libraries(deqp-gles2-accuracy deqp-gl-shared glutil tcutil ${DEQP_GLES2_LIBRARIES})
es2fDebugMarkerTests.hpp
)
+PCH(DEQP_GLES2_FUNCTIONAL_SRCS ../../pch.cpp)
+
add_library(deqp-gles2-functional STATIC ${DEQP_GLES2_FUNCTIONAL_SRCS})
target_link_libraries(deqp-gles2-functional deqp-gl-shared glutil glutil-sglr tcutil referencerenderer ${DEQP_GLES2_LIBRARIES})
es2pShaderCompilationCases.cpp
)
+PCH(DEQP_GLES2_PERFORMANCE_SRCS ../../pch.cpp)
+
add_library(deqp-gles2-performance STATIC ${DEQP_GLES2_PERFORMANCE_SRCS})
target_link_libraries(deqp-gles2-performance deqp-gl-shared glutil tcutil ${DEQP_GLES2_LIBRARIES})
es2sDrawTests.cpp
)
+PCH(DEQP_GLES2_STRESS_SRCS ../../pch.cpp)
+
add_library(deqp-gles2-stress STATIC ${DEQP_GLES2_STRESS_SRCS})
target_link_libraries(deqp-gles2-stress deqp-gl-shared glutil tcutil ${DEQP_GLES2_LIBRARIES})
es3aVaryingInterpolationTests.hpp
)
+PCH(DEQP_GLES3_ACCURACY_SRCS ../../pch.cpp)
+
add_library(deqp-gles3-accuracy STATIC ${DEQP_GLES3_ACCURACY_SRCS})
target_link_libraries(deqp-gles3-accuracy deqp-gl-shared glutil tcutil ${DEQP_GLES3_LIBRARIES})
es3fShaderFragDataTests.hpp
)
+PCH(DEQP_GLES3_FUNCTIONAL_SRCS ../../pch.cpp)
+
add_library(deqp-gles3-functional STATIC ${DEQP_GLES3_FUNCTIONAL_SRCS})
target_link_libraries(deqp-gles3-functional deqp-gl-shared glutil glutil-sglr tcutil referencerenderer ${DEQP_GLES3_LIBRARIES})
es3pDepthTests.cpp
)
+PCH(DEQP_GLES3_PERFORMANCE_SRCS ../../pch.cpp)
+
add_library(deqp-gles3-performance STATIC ${DEQP_GLES3_PERFORMANCE_SRCS})
target_link_libraries(deqp-gles3-performance deqp-gl-shared glutil tcutil ${DEQP_GLES3_LIBRARIES})
es3sLongRunningShaderTests.hpp
)
+PCH(DEQP_GLES3_STRESS_SRCS ../../pch.cpp)
+
add_library(deqp-gles3-stress STATIC ${DEQP_GLES3_STRESS_SRCS})
target_link_libraries(deqp-gles3-stress deqp-gl-shared glutil tcutil ${DEQP_GLES3_LIBRARIES})
es31fShaderUniformIntegerFunctionTests.hpp
)
+PCH(DEQP_GLES31_FUNCTIONAL_SRCS ../../pch.cpp)
+
add_library(deqp-gles31-functional STATIC ${DEQP_GLES31_FUNCTIONAL_SRCS})
target_link_libraries(deqp-gles31-functional deqp-gl-shared glutil glutil-sglr tcutil referencerenderer ${DEQP_OPENGL_LIBRARIES})
es31sTessellationGeometryInteractionTests.hpp
)
+PCH(DEQP_GLES31_STRESS_SRCS ../../pch.cpp)
+
add_library(deqp-gles31-stress STATIC ${DEQP_GLES31_STRESS_SRCS})
target_link_libraries(deqp-gles31-stress deqp-gl-shared glutil tcutil ${DEQP_GLES31_LIBRARIES})
# Shared GL(ES) test code
+include_directories(
+ .
+ )
+
set(DEQP_GL_SHARED_SRCS
glsBuiltinPrecisionTests.cpp
glsBuiltinPrecisionTests.hpp
glsTextureBufferCase.cpp
)
+PCH(DEQP_GL_SHARED_SRCS ../pch.cpp)
+
add_library(deqp-gl-shared STATIC ${DEQP_GL_SHARED_SRCS})
target_link_libraries(deqp-gl-shared glutil glwrapper randomshaders tcutil glutil-sglr)
--- /dev/null
+// Copyright (c) 2018 The Khronos Group Inc.
+//
+// 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.
+
+#include "pch.h"
--- /dev/null
+#ifndef _PCH_H
+#define _PCH_H
+// Copyright (c) 2018 The Khronos Group Inc.
+//
+// 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.
+
+#include "glsFragmentOpUtil.hpp"
+#include "glsShaderLibrary.hpp"
+#include "glsStateQueryUtil.hpp"
+#include "glsTextureTestUtil.hpp"
+#include "gluPixelTransfer.hpp"
+#include "gluStrUtil.hpp"
+#include "gluObjectWrapper.hpp"
+#include "gluContextInfo.hpp"
+#include "gluPixelTransfer.hpp"
+#include "gluRenderContext.hpp"
+#include "gluShaderProgram.hpp"
+#include "gluCallLogWrapper.hpp"
+#include "gluStrUtil.hpp"
+#include "tcuPixelFormat.hpp"
+#include "tcuEither.hpp"
+#include "tcuImageCompare.hpp"
+#include "tcuMaybe.hpp"
+#include "tcuResultCollector.hpp"
+#include "tcuStringTemplate.hpp"
+#include "tcuTestLog.hpp"
+#include "tcuTexture.hpp"
+#include "tcuTextureUtil.hpp"
+#include "tcuVector.hpp"
+#include "tcuVectorUtil.hpp"
+#include "tcuFloat.hpp"
+#include "deRandom.hpp"
+#include "deStringUtil.hpp"
+#include "rrFragmentOperations.hpp"
+#include "rrMultisamplePixelBufferAccess.hpp"
+#include "rrRenderer.hpp"
+#include "sglrGLContext.hpp"
+#include "sglrReferenceContext.hpp"
+#include "sglrReferenceUtils.hpp"
+#include "glwEnums.hpp"
+#include "glwFunctions.hpp"
+#endif /* _PCH_H */