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

Compilation Error on Linux #3

Open
dgow opened this issue Jan 16, 2024 · 0 comments
Open

Compilation Error on Linux #3

dgow opened this issue Jan 16, 2024 · 0 comments

Comments

@dgow
Copy link

dgow commented Jan 16, 2024

LogShaderCompilers: Warning: 1 Shader compiler errors compiling global shaders for platform VULKAN_SM5:
Plugins/LiquidShader/Shaders/Private/LiquidShaderCapCS.usf(17,26): Shader FLiquidShaderCapCS, Permutation 0, VF None:
/Shaders/Private/LiquidShaderCapCS.usf(17,26): error: cannot instantiate StructuredBuffer with given packed alignment; 'VK_EXT_scalar_block_layout' not supported
        StructuredBuffer<float3> VertexBuffer;

Workaround

note: I have absolutely no idea what it really does

in
LiquidShaderCapCS.usf

changing

StructuredBuffer<float3> VertexBuffer; to StructuredBuffer<float4> VertexBuffer;

fixes the error and the shader works as expected. Don't know if its dangerous or will break something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant