From 6f4aa5413183f3f18dd1b15dbc90bcee9ef85bdd Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Wed, 12 Jun 2019 14:22:33 +0200 Subject: rhi: Add compute api and implement for Vulkan and Metal D3D11 and GL (4.3+, ES 3.1+) will come separately at a later time. Change-Id: If30f2f3d062fa27e57e9912674669225b82a7b93 Reviewed-by: Lars Knoll --- tests/manual/rhi/cubemap/cubemap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/manual/rhi/cubemap') diff --git a/tests/manual/rhi/cubemap/cubemap.cpp b/tests/manual/rhi/cubemap/cubemap.cpp index 0420a38cbd..df302736a2 100644 --- a/tests/manual/rhi/cubemap/cubemap.cpp +++ b/tests/manual/rhi/cubemap/cubemap.cpp @@ -121,8 +121,8 @@ void Window::customInit() QShader fs = getShader(QLatin1String(":/cubemap.frag.qsb")); Q_ASSERT(fs.isValid()); d.ps->setShaderStages({ - { QRhiGraphicsShaderStage::Vertex, vs }, - { QRhiGraphicsShaderStage::Fragment, fs } + { QRhiShaderStage::Vertex, vs }, + { QRhiShaderStage::Fragment, fs } }); QRhiVertexInputLayout inputLayout; -- cgit v1.2.3