You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was going over old code for Away3D 4.x and I decided to check out an old demo I posted on Newgrounds. The demo worked with the November 20th Nightly version but now crashes instead.
Caused by:
In Device::create_render_pipeline
Error matching ShaderStages(VERTEX) shader requirements against the pipeline
Shader uses 32 inter-stage components above the limit of 31
Error stack:
Error: panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.19.3/src/backend/wgpu_core.rs:3006:5:
wgpu error: Validation Error
Caused by:
In Device::create_render_pipeline
Error matching ShaderStages(VERTEX) shader requirements against the pipeline
Shader uses 32 inter-stage components above the limit of 31
at J.n.wbg.__wbg_new_28c511d9baebfa89 (https://uploads.ungrounded.net/ruffle_wrapper/lib/core.ruffle.5d81f5ae220331c1ccd3.js:1:73906)
at js_sys::Error::new::hfa19c20c83d85194 (wasm://wasm/03a0f40e:wasm-function[13901]:0xb0f3b5)
at core::ops::function::FnOnce::call_once{{vtable.shim}}::h71e7167ef760ecf5 (wasm://wasm/03a0f40e:wasm-function[11512]:0xaba5c1)
at std::panicking::rust_panic_with_hook::h1e6ac5d404b8e31b (wasm://wasm/03a0f40e:wasm-function[7052]:0x982b84)
at core::panicking::panic_fmt::h87755523850ece9e (wasm://wasm/03a0f40e:wasm-function[11217]:0xab3ea8)
at core::ops::function::Fn::call::h2a08374b4f061872 (wasm://wasm/03a0f40e:wasm-function[7378]:0x99a786)
at wgpu::backend::wgpu_core::ErrorSinkRaw::handle_error::h754c58e36b1e0a44 (wasm://wasm/03a0f40e:wasm-function[5847]:0x91365a)
at <T as wgpu::context::DynContext>::device_create_render_pipeline::hb3e31ba005379e49 (wasm://wasm/03a0f40e:wasm-function[9418]:0xa44abf)
at wgpu::Device::create_render_pipeline::hb64322c3e06cd291 (wasm://wasm/03a0f40e:wasm-function[7871]:0x9c25da)
at <ruffle_render_wgpu::context3d::WgpuContext3D as ruffle_render::backend::Context3D>::process_command::hb1e5c7389e9d7633 (wasm://wasm/03a0f40e:wasm-function[753]:0xae0f4)
AVM2 stack:
at flash.display3D::Context3D/flash::display3D::Context3D::drawTriangles()
at away3d.materials.passes::CompiledPass/render()
at away3d.materials::MaterialBase/renderPass()
at away3d.core.render::DefaultRenderer/drawRenderables()
at away3d.core.render::DefaultRenderer/draw()
at away3d.core.render::RendererBase/executeRender()
at away3d.core.render::DefaultRenderer/executeRender()
at away3d.core.render::RendererBase/render()
at away3d.containers::View3D/render()
at org.flashbacks.examples::Main/onEnterFrame()
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Platform: Win32
Has touch support: false
Describe what you were doing
Was going over old code for Away3D 4.x and I decided to check out an old demo I posted on Newgrounds. The demo worked with the November 20th Nightly version but now crashes instead.
https://www.newgrounds.com/portal/view/907878
What does the crash message say?
Error Info
Error name: Error
Error message: panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.19.3/src/backend/wgpu_core.rs:3006:5:
wgpu error: Validation Error
Caused by:
In Device::create_render_pipeline
Error matching ShaderStages(VERTEX) shader requirements against the pipeline
Shader uses 32 inter-stage components above the limit of 31
Error stack:
AVM2 stack:
Player Info
Allows script access: false
Renderer: wgpu
Adapter Backend: Gl
Adapter Name: "ANGLE (NVIDIA, NVIDIA GeForce RTX 2080 Super with Max-Q Design (0x00001ED3) Direct3D11 vs_5_0 ps_5_0, D3D11)"
Adapter Device Type: Other
Adapter Driver Name: ""
Adapter Driver Info: ""
Enabled features: Features(FLOAT32_FILTERABLE | TEXTURE_COMPRESSION_BC | TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | SHADER_UNUSED_VERTEX_OUTPUT)
Available features: Features(PUSH_CONSTANTS | CLEAR_TEXTURE | MULTIVIEW)
Current limits: Limits { max_texture_dimension_1d: 16384, max_texture_dimension_2d: 16384, max_texture_dimension_3d: 2048, max_texture_array_layers: 256, max_bind_groups: 4, max_bindings_per_bind_group: 1000, max_dynamic_uniform_buffers_per_pipeline_layout: 8, max_dynamic_storage_buffers_per_pipeline_layout: 0, max_sampled_textures_per_shader_stage: 16, max_samplers_per_shader_stage: 16, max_storage_buffers_per_shader_stage: 0, max_storage_textures_per_shader_stage: 0, max_uniform_buffers_per_shader_stage: 11, max_uniform_buffer_binding_size: 65536, max_storage_buffer_binding_size: 0, max_vertex_buffers: 8, max_buffer_size: 268435456, max_vertex_attributes: 16, max_vertex_buffer_array_stride: 255, min_uniform_buffer_offset_alignment: 256, min_storage_buffer_offset_alignment: 256, max_inter_stage_shader_components: 31, max_compute_workgroup_storage_size: 0, max_compute_invocations_per_workgroup: 0, max_compute_workgroup_size_x: 0, max_compute_workgroup_size_y: 0, max_compute_workgroup_size_z: 0, max_compute_workgroups_per_dimension: 0, max_push_constant_size: 0, max_non_sampler_bindings: 1000000 }
Surface quality: high
Surface samples: 4
Surface size: (550, 400, 1)
Page Info
Page URL: https://uploads.ungrounded.net/ruffle_wrapper/ruffleembed.html?v=1.0.67&browsermode=default&props=%7B%22ruffle%22%3A%22%2Fruffle_wrapper%2Flib%2Fruffle.js%3F1709615752%22%2C%22public_path%22%3A%22%2Fruffle_wrapper%2Flib%2F%22%2C%22swf%22%3A%22https%3A%2F%2Fuploads.ungrounded.net%2F907000%2F907878_bf1700802332.swf%3F1700802627%22%2C%22vars%22%3A%7B%22NewgroundsAPI_PublisherID%22%3A1%2C%22NewgroundsAPI_SandboxID%22%3A%2265e8546e92708%22%2C%22NewgroundsAPI_SessionID%22%3A%22s9Va8LdWnQo3YrLVUnbAb32a0b728b992f7dd8a63fe1bab88d5d074c39b2YLPo%22%2C%22NewgroundsAPI_UserName%22%3A%22FlashBacks1998%22%2C%22NewgroundsAPI_UserID%22%3A19218971%2C%22ng_username%22%3A%22FlashBacks1998%22%7D%2C%22width%22%3A965%2C%22height%22%3A800%2C%22icon%22%3A%22https%3A%2F%2Fpicon.ngfiles.com%2F907000%2Fflash_907878_card.webp%3Ff1700802630%22%2C%22warnOnUnsupportedContent%22%3Afalse%7D
SWF URL: https://uploads.ungrounded.net/907000/907878_bf1700802332.swf?1700802627
Browser Info
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Platform: Win32
Has touch support: false
Ruffle Info
Version: 0.1.0
Name: nightly 2024-03-05
Channel: nightly
Built: 2024-03-05T00:06:07.573Z
Commit: 571f60a
Is extension: false
Metadata
width: 900
height: 700
frameRate: 120
numFrames: 1
swfVersion: 33
backgroundColor: #000000
isActionScript3: true
uncompressedLength: 10370516
Ruffle Version
Ruffle Nightly March 6th, 2024
Affected platform
Online demo
Operating system
Windows 10
Additional information
Affects ALL VERSIONS (Windows, Online Demo, etc.)
907878_bf1700802332.zip
The text was updated successfully, but these errors were encountered: