mirror of
https://github.com/bevyengine/bevy
synced 2024-11-24 21:53:07 +00:00
add glsl feature for bevy_pbr (#13516)
# Objective in bevy_pbr we check for `shader_format_glsl` before using binding arrays due to a naga->glsl limitation. but the feature is currently only enabled for the bevy_render crate. fix #13232 ## Solution enable the feature for bevy_pbr too. --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
This commit is contained in:
parent
1d29f8e6f6
commit
037f37e4d6
1 changed files with 4 additions and 1 deletions
|
@ -62,7 +62,10 @@ symphonia-vorbis = ["bevy_audio/symphonia-vorbis"]
|
|||
symphonia-wav = ["bevy_audio/symphonia-wav"]
|
||||
|
||||
# Shader formats
|
||||
shader_format_glsl = ["bevy_render/shader_format_glsl"]
|
||||
shader_format_glsl = [
|
||||
"bevy_render/shader_format_glsl",
|
||||
"bevy_pbr?/shader_format_glsl",
|
||||
]
|
||||
shader_format_spirv = ["bevy_render/shader_format_spirv"]
|
||||
|
||||
serialize = [
|
||||
|
|
Loading…
Reference in a new issue