Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on 907878_bf1700802332.swf #14462

Closed
zjk261 opened this issue Dec 19, 2023 · 2 comments
Closed

Crash on 907878_bf1700802332.swf #14462

zjk261 opened this issue Dec 19, 2023 · 2 comments
Labels
bug Something isn't working panic Hit a panic regression Something was working before, but is now broken render-wgpu Issues relating to the wgpu renderer

Comments

@zjk261
Copy link

zjk261 commented Dec 19, 2023

Describe what you were doing

open the file

What does the crash message say?

panicked at C:\Users\runneradmin.cargo\git\checkouts\wgpu-53e70f8674b08dd4\daedf03\wgpu\src\backend\direct.rs:3111: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

Ruffle Version

0.1.0-nightly (ba6ba84 2023-12-18)

Affected platform

Desktop app

Operating system

Windows 10.0.19045 (Windows 10 Home China) [64-bit]

Additional information

Filename: 907878_bf1700802332.swf

AVM2 Callstack

	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()

Render Info

Renderer: wgpu
Adapter Backend: Vulkan
Adapter Name: "NVIDIA GeForce MX450"
Adapter Device Type: DiscreteGpu
Adapter Driver Name: "NVIDIA"
Adapter Driver Info: "517.47"
Enabled features: Features(TEXTURE_COMPRESSION_BC | TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | PUSH_CONSTANTS | SHADER_UNUSED_VERTEX_OUTPUT)
Available features: Features(DEPTH_CLIP_CONTROL | TIMESTAMP_QUERY | INDIRECT_FIRST_INSTANCE | SHADER_F16 | BGRA8UNORM_STORAGE | RG11B10UFLOAT_RENDERABLE | DEPTH32FLOAT_STENCIL8 | TEXTURE_FORMAT_16BIT_NORM | PIPELINE_STATISTICS_QUERY | TIMESTAMP_QUERY_INSIDE_PASSES | MAPPABLE_PRIMARY_BUFFERS | TEXTURE_BINDING_ARRAY | BUFFER_BINDING_ARRAY | STORAGE_RESOURCE_BINDING_ARRAY | SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING | UNIFORM_BUFFER_AND_STORAGE_TEXTURE_ARRAY_NON_UNIFORM_INDEXING | PARTIALLY_BOUND_BINDING_ARRAY | MULTI_DRAW_INDIRECT | MULTI_DRAW_INDIRECT_COUNT | ADDRESS_MODE_CLAMP_TO_ZERO | ADDRESS_MODE_CLAMP_TO_BORDER | POLYGON_MODE_LINE | POLYGON_MODE_POINT | CONSERVATIVE_RASTERIZATION | VERTEX_WRITABLE_STORAGE | CLEAR_TEXTURE | SPIRV_SHADER_PASSTHROUGH | MULTIVIEW | SHADER_F64 | SHADER_I16 | SHADER_PRIMITIVE_INDEX | DUAL_SOURCE_BLENDING)
Current limits: Limits { max_texture_dimension_1d: 32768, max_texture_dimension_2d: 32768, max_texture_dimension_3d: 16384, 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: 16384, 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: 64, min_storage_buffer_offset_alignment: 32, 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: 96, max_non_sampler_bindings: 1000000 }
Surface quality: low
Surface samples: 1
Surface size: Extent3d { width: 800, height: 600, depth_or_array_layers: 1 }

@zjk261 zjk261 added bug Something isn't working panic Hit a panic labels Dec 19, 2023
@zjk261
Copy link
Author

zjk261 commented Dec 19, 2023

http://uploads.ungrounded.net/907000/907878_bf1700802332.swf
This seems to be a regression
I can open it with 2023-12-14 version and before

@Lord-McSweeney Lord-McSweeney added the render-wgpu Issues relating to the wgpu renderer label Dec 19, 2023
@n0samu n0samu added the regression Something was working before, but is now broken label Dec 19, 2023
@n0samu
Copy link
Member

n0samu commented Dec 19, 2023

Looks like a regression from the wgpu update (#13732)

@zjk261 zjk261 closed this as completed Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working panic Hit a panic regression Something was working before, but is now broken render-wgpu Issues relating to the wgpu renderer
Projects
None yet
Development

No branches or pull requests

3 participants