ShaderRenderCase:
authorPeter Gal <pgal.u-szeged@partner.samsung.com>
Mon, 28 Sep 2015 16:37:01 +0000 (18:37 +0200)
committerPeter Gal <pgal.u-szeged@partner.samsung.com>
Thu, 12 Nov 2015 18:52:43 +0000 (19:52 +0100)
* Use vulkan/data dir instead of data/
* Also list .hpp files in CMakeLists.txt

external/vulkancts/modules/vulkan/CMakeLists.txt
external/vulkancts/modules/vulkan/shaderrendercase/CMakeLists.txt
external/vulkancts/modules/vulkan/shaderrendercase/vktShaderDiscardTests.cpp

index 838ab03..b1f4c32 100644 (file)
@@ -59,4 +59,4 @@ endif ()
 
 add_deqp_module(deqp-vk "${DEQP_VK_SRCS}" "${DEQP_VK_LIBS}" vktTestPackageEntry.cpp)
 
-add_data_dir(deqp-vk ../../data/vulkan/data    data)
+add_data_dir(deqp-vk ../../data/vulkan vulkan)
index bc38cc2..eb388aa 100644 (file)
@@ -4,11 +4,15 @@ include_directories(
 
 set(DEQP_VK_SHADERRENDERCASE_SRCS
        vktShaderRenderCase.cpp
+       vktShaderRenderCase.hpp
        vktShaderRenderCaseTests.cpp
+       vktShaderRenderCaseTests.hpp
 
        vktTexture.cpp
+       vktTexture.hpp
 
        vktShaderDiscardTests.cpp
+       vktShaderDiscardTests.hpp
 )
 
 set(DEQP_VK_SHADERRENDERCASE_LIBS
index edbdf2d..40416fd 100644 (file)
@@ -100,7 +100,7 @@ ShaderDiscardCaseInstance::ShaderDiscardCaseInstance (Context&                      context,
 {
        if (m_usesTexture)
        {
-               m_brickTexture = Texture2D::create(m_context, m_context.getTestContext().getArchive(), "data/brick.png");
+               m_brickTexture = Texture2D::create(m_context, m_context.getTestContext().getArchive(), "vulkan/data/brick.png");
                m_textures.push_back(TextureBinding(m_brickTexture, tcu::Sampler(tcu::Sampler::CLAMP_TO_EDGE,
                                                                                                                                                tcu::Sampler::CLAMP_TO_EDGE,
                                                                                                                                                tcu::Sampler::CLAMP_TO_EDGE,