Add additional shader variant for HDR support
Both qsb and the batch renderer will generate and use the rewritten shader for this new variant respectively. Task-number: QTBUG-126035 Change-Id: I5c4078afcfb22de1e82485459c58d2211958ab7b Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
acb8252d0a
commit
0b7b02cdb4
@ -215,6 +215,9 @@ QT_BEGIN_NAMESPACE
|
|||||||
translated to a compute shader that may be dependent on the index buffer
|
translated to a compute shader that may be dependent on the index buffer
|
||||||
usage in the draw calls (e.g. if the shader is using gl_VertexIndex), hence
|
usage in the draw calls (e.g. if the shader is using gl_VertexIndex), hence
|
||||||
the need for three dedicated variants.
|
the need for three dedicated variants.
|
||||||
|
|
||||||
|
\value [since 6.10] HdrCapableFragmentShader A fragment shader rewritten to support high
|
||||||
|
dynamic range rendering in a Qt Quick scenegraph.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -105,7 +105,8 @@ public:
|
|||||||
BatchableVertexShader,
|
BatchableVertexShader,
|
||||||
UInt16IndexedVertexAsComputeShader,
|
UInt16IndexedVertexAsComputeShader,
|
||||||
UInt32IndexedVertexAsComputeShader,
|
UInt32IndexedVertexAsComputeShader,
|
||||||
NonIndexedVertexAsComputeShader
|
NonIndexedVertexAsComputeShader,
|
||||||
|
HdrCapableFragmentShader,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class SerializedFormatVersion {
|
enum class SerializedFormatVersion {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user