Skip to content

Can't compile on latest commit #9

@tlegoc

Description

@tlegoc

On fresh git clone, project doesn't compile. This seems to be a shader error, some missing function for Sharc.
I tried reverting to an older version but I need DXR 1.2 and every commit I tested had errors I couldn't/wasn't willing to solve.
Would be nice to know what to do or get a fix for this error.

Compiling shaders using: C:/Users/XXX/Documents/GitHub/OMM-Samples/build/_deps/dxc-src/bin/x64/dxc.exe
[build]   ( 10%) OMMSample DXIL
[build]   ( FAIL ) OMMSample DXIL SharcResolve.cs.hlsl {main} {}
[build] C:\Users\XXX\Documents\GitHub\OMM-Samples\Shaders\SharcResolve.cs.hlsl(34,5): error GAF447572: no matching function for call to 'SharcResolveEntry' [C:\Users\XXX\Documents\GitHub\OMM-Samples\build\OMMSampleShaders.vcxproj]
[build]       SharcResolveEntry( threadIndex, sharcParams, sharcResolveParameters, gInOut_SharcHashCopyOffsetBuffer );
[build]       ^~~~~~~~~~~~~~~~~
[build]   C:/Users/XXX/Documents/GitHub/OMM-Samples/build/_deps/sharc-src/include\SharcCommon.h:408:6: note: candidate function not viable: requires 3 arguments, but 4 were provided
[build]   void SharcResolveEntry(uint entryIndex, SharcParameters sharcParameters, SharcResolveParameters resolveParameters)
[build]        ^
[build]   
[build]   ( FAIL ) OMMSample DXIL SharcHashCopy.cs.hlsl {main} {}
[build] C:\Users\XXX\Documents\GitHub\OMM-Samples\Shaders\SharcHashCopy.cs.hlsl(15,5): error G13DA7946: use of undeclared identifier 'SharcCopyHashEntry' [C:\Users\tlegoc\Documents\GitHub\OMM-Samples\build\OMMSampleShaders.vcxproj]
[build]       SharcCopyHashEntry( threadIndex, hashMapData, gInOut_SharcHashCopyOffsetBuffer );
[build]       ^
[build]   

Thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions