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 ScratchFor10.2.swf #11580

Closed
Lord-McSweeney opened this issue Jun 17, 2023 · 2 comments
Closed

Crash on ScratchFor10.2.swf #11580

Lord-McSweeney opened this issue Jun 17, 2023 · 2 comments
Labels
A-avm2 Area: AVM2 (ActionScript 3) A-rendering Area: Rendering & Graphics panic Hit a panic pixelbender unimplemented Issues for functionality that hasn't been implemented yet

Comments

@Lord-McSweeney
Copy link
Collaborator

Describe what you were doing

Starting game.

What does the crash message say?

panicked at 'not implemented: Unimplemented opcode Pow', render/naga-pixelbender/src/lib.rs:725:29

Ruffle Version

0.1.0-nightly (5e6366d 2023-06-16)

Affected platform

Desktop app

Operating system

Ubuntu 20.04 (focal) [64-bit]

Additional information

Filename: ScratchFor10.2.swf

AVM2 Callstack

	at flash.display::ShaderData/flash::display::ShaderData::init()
	at flash.display::ShaderData()
	at flash.display::Shader/set byteCode()
	at flash.display::Shader()
	at filters::FilterPack()
	at scratch::ScratchStage()
	at scratch::ScratchStageOnline()
	at ScratchOnline/getScratchStage()
	at Scratch/initialize()
	at ScratchOnline/initialize()
	at Scratch/jsAccessDetermined()
	at Scratch/determineJSAccess()
	at Scratch()
	at ScratchOnline()

Render Info

Renderer: wgpu
Adapter Backend: Vulkan
Adapter Name: "Intel(R) UHD Graphics (ICL GT1)"
Adapter Device Type: IntegratedGpu
Adapter Driver Name: "Intel open-source Mesa driver"
Adapter Driver Info: "Mesa 21.2.6"
Enabled features: Features(TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | PUSH_CONSTANTS)
Available features: Features(DEPTH_CLIP_CONTROL | TIMESTAMP_QUERY | INDIRECT_FIRST_INSTANCE | SHADER_F16 | RG11B10UFLOAT_RENDERABLE | DEPTH32FLOAT_STENCIL8 | TEXTURE_COMPRESSION_BC | TEXTURE_COMPRESSION_ETC2 | TEXTURE_COMPRESSION_ASTC | 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_I16 | SHADER_PRIMITIVE_INDEX)
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: 640, 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: 60, 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 }
Surface quality: low
Surface samples: 1
Surface size: Extent3d { width: 800, height: 600, depth_or_array_layers: 1 }

@Lord-McSweeney Lord-McSweeney added unimplemented Issues for functionality that hasn't been implemented yet A-avm2 Area: AVM2 (ActionScript 3) panic Hit a panic labels Jun 17, 2023
@n0samu n0samu added the A-rendering Area: Rendering & Graphics label Jun 17, 2023
@Lord-McSweeney
Copy link
Collaborator Author

Now needs Atan2; see #11865.

@Aaron1011
Copy link
Member

Fixed by #11896

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-avm2 Area: AVM2 (ActionScript 3) A-rendering Area: Rendering & Graphics panic Hit a panic pixelbender unimplemented Issues for functionality that hasn't been implemented yet
Projects
None yet
Development

No branches or pull requests

3 participants