Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clang compile failure when calling hash_combine() with wrong uint64_t type #4

Closed
wants to merge 33 commits into from

Conversation

SRSaunders
Copy link

Fixes the following:

  1. clang fails to compile hash_combine() in vulkan-resource-bindings.cpp when called with a uint64_t type. Changed viewInfoHash to the expected size_t type and now it compiles and works properly.
  2. Updated the ClearDepthStencilAttachment() stencil parameter to uint8_t for type consistency. This is the correct type size for calling functions and it also eliminates MSVC compiler warnings re potential loss of data when calling clearDepthStencilTexture() internally.

stephenap07 and others added 30 commits January 5, 2022 12:43
It's only supported in DX12 so far.
CMakeLists fix for NVRHI shader compiler to support AppleClang
It's only supported in DX12 so far.
@SRSaunders
Copy link
Author

No longer needed since this is now included in main at nvrhi.

@SRSaunders SRSaunders closed this Feb 25, 2024
@SRSaunders SRSaunders deleted the nvrhi-type-fixes branch February 25, 2024 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants