Skip to content

Conversation

@SuchAFuriousDeath
Copy link
Collaborator

@SuchAFuriousDeath SuchAFuriousDeath commented Jan 15, 2026

The image for the tests is taken from an existing stage3d_rotating_cube test.
The test for invalid inputs also covers setProgramConstantsFromVector with an input that is too small.

Should progress #15007, #15018, #16480, #19499, #20843 (seems to work now) and #22768 (also seems to work now)

@SuchAFuriousDeath SuchAFuriousDeath force-pushed the stage3d-set-program-constants-from-byte-array branch from 40ebeaa to 32654d6 Compare January 15, 2026 17:28
@Lord-McSweeney Lord-McSweeney added A-avm2 Area: AVM2 (ActionScript 3) stage3d waiting-on-review Waiting on review from a Ruffle team member T-fix Type: Bug fix (in something that's supposed to work already) labels Jan 15, 2026
@SuchAFuriousDeath SuchAFuriousDeath force-pushed the stage3d-set-program-constants-from-byte-array branch from 32654d6 to 643aa97 Compare January 15, 2026 17:54
@SuchAFuriousDeath SuchAFuriousDeath force-pushed the stage3d-set-program-constants-from-byte-array branch from 643aa97 to e44e058 Compare January 15, 2026 17:55
ProgramType::Fragment
} else {
panic!("Unknown program type {program_type:?}");
return Err(make_error_2008(activation, "programType"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we cover those uncovered lines with tests too?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was intending to, guess I missed this one.

@SuchAFuriousDeath SuchAFuriousDeath removed the waiting-on-review Waiting on review from a Ruffle team member label Jan 25, 2026
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) stage3d T-fix Type: Bug fix (in something that's supposed to work already)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants