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

Compression codec (MARK-V) fails on some shaders #2015

Open
aras-p opened this Issue Oct 27, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@aras-p
Copy link

commented Oct 27, 2018

I was trying to compare SMOL-V with MARK-V, and hit failures in MARK-V part where it tries to decode the shader. Seems to happen on: all Hull shaders I try, and most of Shadertoy shaders I try. Only seems to happen with the "Max" compression model type.

The assert that it hits is of Assertion failed: (multi_mtf_.GetSize(mtf) > 0), function DecodeExistingId, file spirv-tools/source/comp/markv_decoder.cpp, line 168. type.

I'm testing with revision 1c1e749f0b, built on Mac.

Attaching the SPIR-V shaders that I have it failing on - basically; compress with Max model, try to decompress it; fails during decompression.

shaders-repro.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.