#include "libANGLE/Context.h"
#include "libANGLE/Display.h"
#include "libANGLE/angletypes.h"
#include "libANGLE/renderer/vulkan/ContextVk.h"
#include "libANGLE/renderer/vulkan/ProgramVk.h"
#include "libANGLE/renderer/vulkan/TextureVk.h"
#include "test_utils/ANGLETest.h"
#include "test_utils/angle_test_instantiate.h"
#include "test_utils/gl_raii.h"
#include "util/EGLWindow.h"
#include "util/random_utils.h"
#include "util/shader_utils.h"
usingnamespaceangle;
namespace
{
class VulkanUniformUpdatesTest : public ANGLETest<>
{ … };
TEST_P(VulkanUniformUpdatesTest, UpdateUntilNewBufferIsAllocated)
{ … }
void InitTexture(GLColor color, GLTexture *texture)
{ … }
TEST_P(VulkanUniformUpdatesTest, DescriptorPoolUpdates)
{ … }
TEST_P(VulkanUniformUpdatesTest, DescriptorPoolUniformAndTextureUpdates)
{ … }
TEST_P(VulkanUniformUpdatesTest, DescriptorPoolUniformAndTextureRegeneration)
{ … }
TEST_P(VulkanUniformUpdatesTest, DescriptorPoolUniformAndTextureUpdatesTwoShaders)
{ … }
TEST_P(VulkanUniformUpdatesTest, TextureStagingBufferRecycling)
{ … }
TEST_P(VulkanUniformUpdatesTest, UpdateAfterNewBufferIsAllocated)
{ … }
TEST_P(VulkanUniformUpdatesTest, MultipleProgramsShareDescriptors)
{ … }
ANGLE_INSTANTIATE_TEST(…);
class PipelineProgramUniformUpdatesTest : public VulkanUniformUpdatesTest
{ … };
TEST_P(PipelineProgramUniformUpdatesTest, ToggleBetweenPPOAndProgramVKWithUniformUpdate)
{ … }
ANGLE_INSTANTIATE_TEST(…);
}