Skip to content

adaptive aligned array based struct tvec type#1

Open
jopadan wants to merge 1 commit into
jessebarker:masterfrom
jopadan:master
Open

adaptive aligned array based struct tvec type#1
jopadan wants to merge 1 commit into
jessebarker:masterfrom
jopadan:master

Conversation

@jopadan
Copy link
Copy Markdown

@jopadan jopadan commented Dec 18, 2024

Switch to C++26 include all the glmark2 changes and add adaptive array based tvec type while preserving the exposed interface.

/* vector align non-power of 2 element count */ 
tvec<float, 3, align::vector> a = {1,2,3};
/* use default adaptive alignment */
tvec<float, 3> b = {1,2,3};
tvec<float, 4> c = {1,2,3,4};
/* element align power of 2 element count */
tvec<float, 4, align::element>  d = {1,2,3,4};
cnt/typ/alg/sze
  3/  4/ 16/ 16: vector
  3/  4/  4/ 12: adaptive
  4/  4/ 16/ 16: adaptive
  4/  4/  4/ 16: element

@jopadan jopadan force-pushed the master branch 4 times, most recently from 17ff96b to 8d4e2f7 Compare December 20, 2024 16:31
@jopadan jopadan force-pushed the master branch 4 times, most recently from 33e8454 to a580e9c Compare December 21, 2024 15:20
- switch to C++26
- include glmark2 changes
- replace class tvec[2,3,4] type with adaptive aligned std::array based struct tvec 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

Successfully merging this pull request may close these issues.

1 participant