Fixing some import problems
This commit is contained in:
@@ -10,6 +10,7 @@ struct ViewParameter
|
||||
float4 cameraPos_WS;
|
||||
float2 screenDimensions;
|
||||
}
|
||||
layout(set=0)
|
||||
ParameterBlock<ViewParameter> pViewParams;
|
||||
|
||||
float4 clipToView(float4 clip)
|
||||
|
||||
@@ -63,4 +63,5 @@ struct LightEnv
|
||||
StructuredBuffer<PointLight> pointLights;
|
||||
uint numPointLights;
|
||||
};
|
||||
layout(set=3)
|
||||
ParameterBlock<LightEnv> pLightEnv;
|
||||
|
||||
@@ -7,5 +7,5 @@ interface IMaterial
|
||||
associatedtype BRDF : IBRDF;
|
||||
BRDF prepare(MaterialParameter input);
|
||||
};
|
||||
|
||||
layout(set=4)
|
||||
ParameterBlock<IMaterial> pMaterial;
|
||||
|
||||
@@ -22,8 +22,8 @@ struct MeshData
|
||||
uint32_t pad0[3];
|
||||
};
|
||||
|
||||
static const uint MAX_VERTICES = 64;
|
||||
static const uint MAX_PRIMITIVES = 126;
|
||||
static const uint MAX_VERTICES = 256;
|
||||
static const uint MAX_PRIMITIVES = 256;
|
||||
static const uint TASK_GROUP_SIZE = 128;
|
||||
static const uint MESH_GROUP_SIZE = 32;
|
||||
static const uint MAX_MESHLETS_PER_MESH = 512;
|
||||
@@ -41,6 +41,6 @@ struct Scene
|
||||
StructuredBuffer<uint8_t> primitiveIndices;
|
||||
StructuredBuffer<uint32_t> vertexIndices;
|
||||
};
|
||||
layout(set=1)
|
||||
layout(set=2)
|
||||
ParameterBlock<Scene> pScene;
|
||||
|
||||
|
||||
@@ -11,5 +11,5 @@ interface IVertexData
|
||||
VertexAttributes getAttributes(uint index);
|
||||
};
|
||||
|
||||
layout(set=2)
|
||||
layout(set=1)
|
||||
ParameterBlock<IVertexData> pVertexData;
|
||||
Reference in New Issue
Block a user