mojira.dev
MC-230329

Shader includes cannot be referenced in program shaders

Shader includes in shaders/include/* cannot be imported with #moj_import inside of program shaders in shaders/program/*. Expected behavior would have been that includes are supported for shader programs within the shader directory.

 

To Reproduce:

  1. Download the provided resource pack, set video graphics to Fabulous!

  2. Loading the resource pack will fail, as the shader compiler fails to import the function 'example' from the include file.

Attachments

Comments 1

Thank you for your report!
We suspect that this does not occur in the latest version of Minecraft.

Is this issue present in the latest version of Minecraft?

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

onnowhere

(Unassigned)

Confirmed

(Unassigned)

core, include, program, shaders

1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1, 1.18 Pre-release 5

Retrieved