Files
CosmicEngine/lib/All/SPIRV-Reflect/tests/hlsl/cbuffer.spv

52 lines
3.3 KiB
Plaintext
Raw Normal View History

#3
SPV_GOOGLE_hlsl_functionality1 main%)hlsl/cbuffer.hlsl<00>X#line 1 "hlsl/cbuffer.hlsl"
struct OmniNormalStength {
float Front;
float Back;
float Top;
float Bottom;
float Left;
float Right;
};
struct ClothProperties {
float3 NormalAdjust;
OmniNormalStength Strengths;
uint Type;
};
struct AuxData {
ClothProperties ClothProperties[8];
float3 ClothColors[8];
float Scales[8];
int EnableBitMask;
};
struct MaterialData {
float3 Color;
float Specular;
float Diffuse;
AuxData AuxDatArray[10];
};
cbuffer MyCBuffer {
MaterialData Material[2][2][3];
float4x4 ModelMatrix;
float4x4 ProjectionMatrix;
float Time;
float3 Scale;
float2 UvOffsets[12];
bool EnableTarget;
};
float4 main(float4 pos : POSITION) : SV_Position
{
return float4(Time, 0, 0, 0);
}
,bb.entryOmniNormalStengthFrontBackTopBottomLeftRightClothPropertiesNormalAdjustStrengthsType AuxData ClothProperties ClothColors Scales EnableBitMaskMaterialDataColorSpecularDiffuseAuxDatArraytype.MyCBufferMaterialModelMatrixProjectionMatrixTimeScaleUvOffsetsEnableTargetMyCBuffersrc.main main#param.var.pos%in.var.POSITION+posH#H#H#H# H#H#H#H#H#0G@G G
H #H #H #<00>H #GH#H# H#H# G<00>G@\G<00><>GH#H#qHHH#@qHHH#<00>qH#<00>qH#<00>qH#PrG%POSITIONG) )SV_PositionG%G"G!  + 
  
+
 +++   ! " $ (!*"+ - .+1;;$%;()6 <00>!;"#=&%9'#>)'<00>86*7"+<00>,A./-=0/P20111<00>28