Skip to content

Add more gl functions#317

Merged
grovesNL merged 19 commits intogrovesNL:mainfrom
sagudev:more
Nov 1, 2024
Merged

Add more gl functions#317
grovesNL merged 19 commits intogrovesNL:mainfrom
sagudev:more

Conversation

@sagudev
Copy link
Copy Markdown
Contributor

@sagudev sagudev commented Oct 23, 2024

Each commit is standalone.

@sagudev
Copy link
Copy Markdown
Contributor Author

sagudev commented Oct 24, 2024

I will stop adding commits here as all remaining stuff that is missing for is less trivial to add.

@grovesNL
Copy link
Copy Markdown
Owner

@sagudev is this ready to review?

@sagudev
Copy link
Copy Markdown
Contributor Author

sagudev commented Oct 30, 2024

@sagudev is this ready to review?

Yes, all my PRs that are not marked as draft are ready to land.

Copy link
Copy Markdown
Owner

@grovesNL grovesNL left a comment

Choose a reason for hiding this comment

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

Thank you!

1 == status
}

unsafe fn get_program_validate_status(&self, program: Self::Program) -> bool {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I guess we could've exposed get_program_parameter_bool, get_program_parameter_i32 (like you've added here), etc. instead of having these individual functions, but it's probably fine because there aren't too many anyway

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

We should probably add get_program_parameter_bool and reuse these internally though (instead of having each of these repeating the status == 1), but we can do that in a follow-up PR

@grovesNL grovesNL merged commit 99aa994 into grovesNL:main Nov 1, 2024
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

Successfully merging this pull request may close these issues.

2 participants