Fixing slang compilation temporarily, renaming vertexfactory

This commit is contained in:
Dynamitos committed 2020-08-06 00:54:43 +02:00
1 parent ab4a3b5e23
commit f27859a02c
66 files changed
+1005 -627

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
struct PrimitiveSceneData
{
float4x4 localToWorld;
float4x4 worldToLocal;
};
struct ViewParameter
{
float4x4 viewMatrix;
float4x4 projectionMatrix;
float4 cameraPos_WS;
};
layout(set = 0)
ConstantBuffer<ViewParameter> gViewParams;
layout(set = 2)
ConstantBuffer<PrimitiveSceneData> gSceneData;