Skip to content

NvHitObjectMacroDummyPayloadType missing PAQ #22

Description

@szihs

HitObject.MakeHit fails to compile when the target is set to sm_6_8. It's likely because of an issue in the NVAPI headers. It looks like the struct here needs the [raypayload] attribute.

Refer - https://microsoft.github.io/DirectX-Specs/d3d/Raytracing.html#hitobject-interaction-with-payload-access-qualifiers

The solution looks like -
struct [raypayload] NvHitObjectMacroDummyPayloadType { int a : read(caller) : write(caller); };

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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