|
Blender V5.3
|
Classes | |
| struct | ArgumentFormat |
| struct | FunctionFormat |
| struct | PrintfFormat |
| struct | SharedVariable |
| struct | ParsedResource |
| struct | ResourceTable |
| struct | ParsedAttribute |
| struct | StageInterface |
| struct | ParsedFragOuput |
| struct | FragmentOutputs |
| struct | ParsedFragInput |
| struct | FragmentInputs |
| struct | ParsedVertInput |
| struct | VertexInputs |
| struct | TemplateDefinition |
| struct | Symbol |
| struct | Source |
Enumerations | |
| enum | Builtin : uint64_t { ClipDistance = hash("gl_ClipDistance") , FragCoord = hash("gl_FragCoord") , FragStencilRef = hash("gl_FragStencilRefARB") , FrontFacing = hash("gl_FrontFacing") , GlobalInvocationID = hash("gl_GlobalInvocationID") , InstanceIndex = hash("gpu_InstanceIndex") , BaseInstance = hash("gpu_BaseInstance") , InstanceID = hash("gl_InstanceID") , LocalInvocationID = hash("gl_LocalInvocationID") , LocalInvocationIndex = hash("gl_LocalInvocationIndex") , NumWorkGroup = hash("gl_NumWorkGroup") , PointCoord = hash("gl_PointCoord") , PointSize = hash("gl_PointSize") , PrimitiveID = hash("gl_PrimitiveID") , VertexID = hash("gl_VertexID") , WorkGroupID = hash("gl_WorkGroupID") , WorkGroupSize = hash("gl_WorkGroupSize") , drw_debug = hash("drw_debug_") , printf = hash("printf") , assert = hash("assert") , runtime_generated = hash("runtime_generated") } |
| enum | Qualifier : uint64_t { in = hash("in") , out = hash("out") , inout = hash("inout") } |
| enum | Type : uint64_t { float1 = hash("float") , float2 = hash("float2") , float3 = hash("float3") , float4 = hash("float4") , float3x3 = hash("float3x3") , float4x4 = hash("float4x4") , int1 = hash("int") , int2 = hash("int2") , int3 = hash("int3") , int4 = hash("int4") , bool1 = hash("bool") , sampler1DArray = hash("sampler1DArray") , sampler2DArray = hash("sampler2DArray") , sampler2D = hash("sampler2D") , sampler3D = hash("sampler3D") , Closure = hash("Closure") , KernelGlobals = hash("KernelGlobals") , ShadingData = hash("ShadingData") } |
Functions | |
| static std::string | enum_to_string (metadata::Qualifier qualifier) |
| static std::string | enum_to_string (metadata::Type type_enum) |
| static constexpr uint64_t | hash (const char *name) |
| static uint64_t | hash (const std::string &name) |
Definition at line 40 of file metadata.hh.
| Enumerator | |
|---|---|
| in | |
| out | |
| inout | |
Definition at line 64 of file metadata.hh.
| Enumerator | |
|---|---|
| float1 | |
| float2 | |
| float3 | |
| float4 | |
| float3x3 | |
| float4x4 | |
| int1 | |
| int2 | |
| int3 | |
| int4 | |
| bool1 | |
| sampler1DArray | |
| sampler2DArray | |
| sampler2D | |
| sampler3D | |
| Closure | |
| KernelGlobals | |
| ShadingData | |
Definition at line 70 of file metadata.hh.
|
static |
Definition at line 210 of file gpu/shader_tool/metadata.cc.
References enum_to_string(), in, inout, and out.
Referenced by enum_to_string(), enum_to_string(), and blender::gpu::shader::metadata::Source::serialize().
|
static |
Definition at line 223 of file gpu/shader_tool/metadata.cc.
References bool1, Closure, enum_to_string(), float1, float2, float3, float3x3, float4, float4x4, int1, int2, int3, int4, KernelGlobals, sampler1DArray, sampler2D, sampler2DArray, sampler3D, and ShadingData.
|
staticconstexpr |
|
inlinestatic |
Definition at line 35 of file metadata.hh.
References hash().