aboutsummaryrefslogtreecommitdiffstats
path: root/src/particles/shaders_ng/imageparticle_coloredpoint.vert.qsb
diff options
context:
space:
mode:
authorKaj Grönholm <kaj.gronholm@qt.io>2020-11-09 14:44:16 +0200
committerKaj Grönholm <kaj.gronholm@qt.io>2020-11-11 20:25:23 +0200
commit4771072d3c3bc2393f5bd3862375788cf154329b (patch)
treea3dbc5eb4a1c1cc79d8abd646994104da161bb4d /src/particles/shaders_ng/imageparticle_coloredpoint.vert.qsb
parentfdbb97ff192756e7bd2d3595b0334d85b237d303 (diff)
Add simpler non point particle level
Add one more PerformanceLevel which is similar to Color, except it draws using triangles instead of points. This is optimal for d3d11 which doesn't support VertexShaderPointSize. Also rename first levels to *Point to be clear. Testing this on my windows laptop shows ~15% decrease in RAM usage for imageparticle/colored example. Task-number: QTBUG-88294 Change-Id: Ib93bc9fd0d2ef4f1cb8e0d9dcba0db652f288398 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/particles/shaders_ng/imageparticle_coloredpoint.vert.qsb')
-rw-r--r--src/particles/shaders_ng/imageparticle_coloredpoint.vert.qsbbin0 -> 3425 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/src/particles/shaders_ng/imageparticle_coloredpoint.vert.qsb b/src/particles/shaders_ng/imageparticle_coloredpoint.vert.qsb
new file mode 100644
index 0000000000..3c92bc2f63
--- /dev/null
+++ b/src/particles/shaders_ng/imageparticle_coloredpoint.vert.qsb
Binary files differ