Required shader definitions are inaccessible by Material
in mainline bevy
#19
Labels
upstream
Issue lies with an upstream repository
Milestone
RustGpu
relies on the shader definitions passed intoMaterial::specialize
in order to assign the appropriate entrypoints toVertexState
andFragmentState
.However,
NO_TEXTURE_ARRAYS_SUPPORT
,SIXTEEN_BYTE_ALIGNMENT
andAVAILABLE_STORAGE_BUFFER_BINDINGS
are omitted, asShaderCache
injects those at when a shader is retrieved viaget
, which occurs afterMaterial::specialize
.This is accounted for in my development fork of bevy, but will block a stable release until resolved in mainline.
Upstream issue: bevy #8190
The text was updated successfully, but these errors were encountered: