Changing descriptor update signature
This commit is contained in:
@@ -10,7 +10,7 @@ struct DispatchParams
|
||||
|
||||
struct DispatchParamWrapper
|
||||
{
|
||||
ParameterBlock<DispatchParams> p;
|
||||
DispatchParams p;
|
||||
RWStructuredBuffer<Frustum> frustums;
|
||||
}
|
||||
ParameterBlock<DispatchParamWrapper> pDispatchParams;
|
||||
@@ -10,9 +10,9 @@ import Scene;
|
||||
//};
|
||||
struct MaterialResources
|
||||
{
|
||||
StructuredBuffer<float> floatArray;
|
||||
Texture2D textureArray[512];
|
||||
SamplerState samplerArray[512];
|
||||
StructuredBuffer<float> floatArray;
|
||||
};
|
||||
layout(set=4)
|
||||
ParameterBlock<MaterialResources> pResources;
|
||||
|
||||
Reference in New Issue
Block a user