summaryrefslogtreecommitdiffstats
path: root/tests/manual/rhi/shared
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2022-10-24 15:23:09 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2022-10-25 15:19:41 +0200
commit2c639aea76226d0971f6995b2a4a5132a8a3de50 (patch)
tree1a6b218a5f2f2b31a1ad8da29defbb27cdb7aa6c /tests/manual/rhi/shared
parentef2cef49a3939c119d012ff67398232362129f20 (diff)
rhi: Add a manual test for simple stencil-based outline
Interesting on its own just because it exercises stencil testing, unlike any of the other existing manual tests. In addition it serves as a base example for how outlines could be done, it is one possible approach at least. (render with stencil write, then render again slightly scaled up with a solid color with testing against the stencil buffer content) Change-Id: I0c845a9004136f229cab037f6f0aab2f772bdd76 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'tests/manual/rhi/shared')
-rw-r--r--tests/manual/rhi/shared/examplefw.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/manual/rhi/shared/examplefw.h b/tests/manual/rhi/shared/examplefw.h
index 4f49084537..45f46b8e5a 100644
--- a/tests/manual/rhi/shared/examplefw.h
+++ b/tests/manual/rhi/shared/examplefw.h
@@ -259,7 +259,6 @@ void Window::init()
// now onto the backend-independent init
m_sc = m_r->newSwapChain();
- // allow depth-stencil, although we do not actually enable depth test/write for the triangle
m_ds = m_r->newRenderBuffer(QRhiRenderBuffer::DepthStencil,
QSize(), // no need to set the size here, due to UsedWithSwapChainOnly
sampleCount,