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

WebGL2 - Uniform1[f, i, ui]v bindings have incorrect signature #4690

Open
nico-barbas opened this issue Jan 14, 2025 · 0 comments
Open

WebGL2 - Uniform1[f, i, ui]v bindings have incorrect signature #4690

nico-barbas opened this issue Jan 14, 2025 · 0 comments

Comments

@nico-barbas
Copy link

Context

All the Uniform[f, i, ui]v proc bindings have incorrect signature. As per the spec, they should accept the uniform location as first parameters and an array of the corresponding type as the second.

Currently, they are only wrappers for the single value version of those procs. An example with Uniform1uiv:

Uniform1uiv :: proc "contextless" (location: i32, v: u32) {

    Odin:    dev-2025-01-nightly:48a7ed0
    OS:      Windows 11 Enterprise (version: 23H2), build 22631.4602
    CPU:     12th Gen Intel(R) Core(TM) i7-1265U
    RAM:     16208 MiB
    Backend: LLVM 18.1.8

Expected Behavior

Those procedures should accept a uniform location and an array of the corresponding type.

Current Behavior

Those procedure accept a uniform location and a single value of the corresponding type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant