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

render: Implement more Pixelbender opcodes, and fix matrices #11896

Merged
merged 6 commits into from
Jul 9, 2023

Conversation

Aaron1011
Copy link
Member

Matrices don't actually get their own registers - they are stored in normal float registers, with each column of the matrix getting its own register. The exception is float2x2, which is stored in a single vec4 (this is visible to PixelBender bytecode, which writes to a single vector, and then uses it as an M2x2 channel).

Comment on lines 11 to 13
* law. Dissemination of this information or reproduction of this material is
* strictly forbidden unless prior written permission is obtained from Adobe
* Systems Incorporated.
Copy link
Contributor

Choose a reason for hiding this comment

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

😬

Copy link
Collaborator

@Lord-McSweeney Lord-McSweeney Jul 6, 2023

Choose a reason for hiding this comment

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

From the comments below, this is from https://github.com/nojvek/pixelbender/blob/master/twirl/twirl.pbk, which has no such license on it (and it's not like we're distributing it)- where did the license come from?

@Aaron1011 Aaron1011 force-pushed the extra-pixelbender-opcodes branch from c45c31e to a460692 Compare July 7, 2023 20:38
@Dinnerbone
Copy link
Contributor

Squash this on merge please; I don't want the old license in the history and have awkward questions if someone does a code scan in the future

Aaron1011 added 6 commits July 9, 2023 12:39
Matrices don't actually get their own registers - they are
stored in normal float registers, with each column of
the matrix getting its own register. The exception is float2x2,
which is stored in a single vec4 (this is visible to PixelBender
bytecode, which writes to a single vector, and then uses it
as an M2x2 channel).
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.

3 participants