19#include <QtCore/QAtomicInt>
21#include <QtCore/QDebug>
27 static const int QSB_VERSION = 9;
28 static const int QSB_VERSION_WITHOUT_INPUT_OUTPUT_INTERFACE_BLOCKS = 8;
29 static const int QSB_VERSION_WITHOUT_EXTENDED_STORAGE_BUFFER_INFO = 7;
30 static const int QSB_VERSION_WITHOUT_NATIVE_SHADER_INFO = 6;
31 static const int QSB_VERSION_WITHOUT_SEPARATE_IMAGES_AND_SAMPLERS = 5;
32 static const int QSB_VERSION_WITHOUT_VAR_ARRAYDIMS = 4;
33 static const int QSB_VERSION_WITH_CBOR = 3;
34 static const int QSB_VERSION_WITH_BINARY_JSON = 2;
35 static const int QSB_VERSION_WITHOUT_BINDINGS = 1;
38 MslTessVertIndicesBufferBinding = 0,
45 MslMultiViewMaskBufferBinding
55 qsbVersion(
other.qsbVersion),
59 bindings(
other.bindings),
60 combinedImageMap(
other.combinedImageMap),
61 nativeShaderInfoMap(
other.nativeShaderInfoMap)
79 int qsbVersion = QSB_VERSION;
SerializedFormatVersion
Describes the desired output format when serializing the QShader.
Stage
Describes the stage of the graphics pipeline the shader is suitable for.
Combined button and popup list for selecting options.
GLsizei GLsizei GLuint * shaders
static int qtVersion(const QMap< QString, QString > &qtpathsVariables)
QMap< QShaderKey, QShader::SeparateToCombinedImageSamplerMappingList > combinedImageMap
QShaderPrivate(const QShaderPrivate &other)
static const QShaderPrivate * get(const QShader *s)
QMap< QShaderKey, QShader::NativeResourceBindingMap > bindings
MslNativeShaderInfoExtraBufferBindings
@ MslTessTescTessLevelBufferBinding
@ MslTessTescInputBufferBinding
@ MslTessTescPatchOutputBufferBinding
@ MslBufferSizeBufferBinding
@ MslTessVertTescOutputBufferBinding
@ MslTessTescParamsBufferBinding
static const int QSB_VERSION_WITHOUT_EXTENDED_STORAGE_BUFFER_INFO
static int qtQsbVersion(QShader::SerializedFormatVersion qtVersion)
QMap< QShaderKey, QShaderCode > shaders
QMap< QShaderKey, QShader::NativeShaderInfo > nativeShaderInfoMap
static QShaderPrivate * get(QShader *s)
static const int QSB_VERSION_WITHOUT_SEPARATE_IMAGES_AND_SAMPLERS
static const int QSB_VERSION