Giter VIP home page Giter VIP logo

Comments (6)

qiaojbao avatar qiaojbao commented on July 17, 2024 2

Also ran into this build issue with VulkanSDK1.3.275+'s DXC tools.
We are working on it.

from amdvlk.

qiaojbao avatar qiaojbao commented on July 17, 2024 1

could you help to try PR-8 please?
GPUOpen-Drivers/gpurt#8

from amdvlk.

mareksapota avatar mareksapota commented on July 17, 2024 1

I added your patch to my RPM build and was able to get a successful build with DirectXShaderCompiler v1.8.2403.2.

https://build.opensuse.org/package/show/home:mareksapota:branches:X11:XOrg/amdvlk

from amdvlk.

qiaojbao avatar qiaojbao commented on July 17, 2024 1

Fix merged.

from amdvlk.

baryluk avatar baryluk commented on July 17, 2024

Using a workaround for gcc 13.2, for that old tagged release which I described in the dxc issue microsoft/DirectXShaderCompiler#5949

patching one file for missing include (#include <cstdint> in DirectXShaderCompiler/tools/clang/include/clang/Basic/Version.h, and adding extra cmake flags (-DCMAKE_CXX_FLAGS="-Wno-error=stringop-overflow -Wno-changes-meaning") for the compiler to ignore some warnings / errors, I compiled this older dxc.

Then amdvlk does build:

[1/148] Generating pipelines/g_internal_shaders.h, pipelines/g_GpuRtLibrary.h
Launching threads for raytracing shader compilation...
Raytracing shader compilation completed with no errors.
Launching threads for raytracing shader compilation...
Raytracing shader compilation completed with no errors.
...

So, this looks like an issue of amdvlk xgl with newer dxc.

from amdvlk.

mareksapota avatar mareksapota commented on July 17, 2024

I've run into a similar issue trying to compile the latest AMDVLK release. Code compiles with an older version of DirectXShaderCompiler but the latest version fails with error: firstbithigh is not yet implemented for 64-bit width components when targetting SPIR-V.

Versions used:
amdvlk v-2024.Q1.3
glslang 14.1.0
xgl b7100c18eb2d134098738f97d7cc3a26e485862f
pal 42e29f4d3d528c6a59c2db77fb6d70127fb9ffab
llpc 14535c028dc70a093d95a95efedb749812c1e77d
llvm-project da55e9e39bc7868016b7b265aa535dff84b7d591
MetroHash 18893fb28601bb9af1154cd1a671a121fff6d8d3
CWPack 4f8cf0584442a91d829d269158567d7ed926f026
gpurt 2e6d528610f45a99723d6e4f15f24da12fd6a1e5

Working DirectXShaderCompiler version:
DirectXShaderCompiler v1.7.2308

Not working DirectXShaderCompiler version:
DirectXShaderCompiler v1.8.2403.2

from amdvlk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.