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

chore: add better error checking for unsupported shader uniform types #10562

Merged
merged 2 commits into from
May 21, 2024

Conversation

GoodBoyDigital
Copy link
Member

Description of change

Added a check to UniformGroup that ensures only valid uniform types are used:

Error: Uniform type doopboopMatrix100x100 is not supported. Supported uniform types are: f32, i32, vec2<f32>, vec3<f32>, vec4<f32>, mat2x2<f32>, mat3x3<f32>, mat4x4<f32>, mat3x2<f32>, mat4x2<f32>, mat2x3<f32>, mat4x3<f32>, mat2x4<f32>, mat3x4<f32>

Copy link

codesandbox-ci bot commented May 20, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 69f19c8:

Sandbox Source
pixi.js-sandbox Configuration

@Zyie Zyie added the ✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t label May 21, 2024
@Zyie Zyie added this pull request to the merge queue May 21, 2024
Merged via the queue into dev with commit 6191eb4 May 21, 2024
5 checks passed
@Zyie Zyie deleted the chore/better-error-for-uniform-types branch May 21, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t v8
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants