qt5base-lts/tests/manual/rhi/computebuffer
Laszlo Agocs 854ddb0301 rhi: Enhance line width and point size support
...but this will vary between backends, or in some cases
even between implementations of the same API.

Point size is settable only via the vertex shader (gl_PointSize).
It is silently ignored with D3D and HLSL.

Line widths other than 1 are supported only on OpenGL and Vulkan.
(but this is in fact deprecated with GL and optional with Vulkan)

Add QRhi::Feature values for both.

The line width is now settable on QRhiGraphicsPipeline. It is not a
dynamic state since the static, per-pipeline width is good enough for
most cases. (and the feature is not supported on half of the backends
anyways so it will get limited use in practice).

Change-Id: I6d3a32269527c452b794b2cb8b0f03101eab40b2
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2019-07-01 17:34:29 +02:00
..
buffer.comp rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
buffer.comp.qsb rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
buildshaders.bat rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
computebuffer.cpp rhi: Enhance line width and point size support 2019-07-01 17:34:29 +02:00
computebuffer.pro rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
computebuffer.qrc rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
main.frag rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
main.frag.qsb rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
main.vert rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
main.vert.qsb rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00