![]() # Objective - Due to recent changes related to #19024, the `compute_shader_game_of_life` example panics on some machines especially on Linux. - This is due to us switching more shaders to embedded shaders - this means the compute shader in this example takes more than one frame to load. - The panic in the example occurs if the shader fails to load by the first frame (since the pipeline considers that an error). ## Solution - Make the example do nothing if the shader isn't loaded yet. This has the effect of waiting for the shader to load. ## Testing - Tested the example on my Linux laptop. |
||
---|---|---|
.. | ||
animate_shader.rs | ||
array_texture.rs | ||
automatic_instancing.rs | ||
compute_shader_game_of_life.rs | ||
custom_phase_item.rs | ||
custom_post_processing.rs | ||
custom_render_phase.rs | ||
custom_shader_instancing.rs | ||
custom_vertex_attribute.rs | ||
extended_material_bindless.rs | ||
extended_material.rs | ||
fallback_image.rs | ||
gpu_readback.rs | ||
shader_defs.rs | ||
shader_material_2d.rs | ||
shader_material_bindless.rs | ||
shader_material_glsl.rs | ||
shader_material_screenspace_texture.rs | ||
shader_material_wesl.rs | ||
shader_material.rs | ||
shader_prepass.rs | ||
specialized_mesh_pipeline.rs | ||
storage_buffer.rs | ||
texture_binding_array.rs |