Skip to content

GBitmap changes and Math_C#1787

Merged
Azaezel merged 3 commits into
TorqueGameEngines:developmentfrom
marauder2k9-torque:Misc-Fixes-
Jul 16, 2026
Merged

GBitmap changes and Math_C#1787
Azaezel merged 3 commits into
TorqueGameEngines:developmentfrom
marauder2k9-torque:Misc-Fixes-

Conversation

@marauder2k7

Copy link
Copy Markdown
Contributor

Math_C required a fix as it was writing to the r[2] twice

GBitmap needed a proper interface to work with multiple faces (eg cubemaps) This needed to expand to the possibility of arrays and also 3d textures.

The original gbitmap was also failing to extrude mips for cubemaps, it was doing it on the first face and rewriting the flat buffer to skip out on each faces mip map.

Math_C required a fix as it was writing to the r[2] twice

GBitmap needed a proper interface to work with multiple faces (eg cubemaps) This needed to expand to the possibility of arrays and also 3d textures.

The original gbitmap was also failing to extrude mips for cubemaps, it was doing it on the first face and rewriting the flat buffer to skip out on each faces mip map.
@marauder2k7 marauder2k7 changed the title Multiple changes GBitmap changes and Math_C Jul 10, 2026
macos size_t "fix"
it seems the math aint mathing, the isa intrinsic functions are reporting to be slower than the straight up scalar math, especially over iterations, this seems to be due to the load and store steps we have to do, only function that consistently reports as faster is the transform_plane
@Azaezel
Azaezel merged commit 65b49a5 into TorqueGameEngines:development Jul 16, 2026
7 checks passed
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