UniformBuffer seems to be missing from D3D12 branch
zigguratvertigo opened this issue · 6 comments
Hi,
Grabbed the latest code via the zip download github feature. UniformBuffers seem to be missing from this branch.
\falcor-d3d12\samples\effects\normalmapfiltering\normalmapfiltering.h(48): error C2653: 'UniformBuffer': is not a class or namespace name
\falcor-d3d12\samples\effects\normalmapfiltering\normalmapfiltering.h(48): error C3646: 'mpLightBuffer': unknown override specifier
\falcor-d3d12\samples\effects\normalmapfiltering\normalmapfiltering.h(48): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
[...]
Similar results when syncing via SourceTree to this specific branch (commit: [ad16784]).
The file was renamed to ConstantBuffer in the D3D12 dev-branch. We were focusing on adding features and cleaning the interfaces, so some of the samples don't work yet.
I'll fix it later this week.
Thanks!
NormalMapFiltering sample is fixed
Unfortunately, issue still exists if you get the latest d3d12 branch.
The latest NormalMapFiltering.h doesn't have any reference to UniformBuffer.
What error are you getting?
NormalMapFiltering is indeed fixed. :)
I get it in StereoRendering. Seems to be the last one.
stereorendering.h(50): error C2653: 'UniformBuffer': is not a class or namespace name
The D3D12 branch was merged into master, where I removed StereoRendering from the solution for now. I'll fix it in a few days.