Skip to content

Only keep legacy struct types from resources (#3624)#3641

Merged
pow2clk merged 1 commit intomicrosoft:release-1.6.2104from
tex3d:cp-82422d776-to-release
Mar 29, 2021
Merged

Only keep legacy struct types from resources (#3624)#3641
pow2clk merged 1 commit intomicrosoft:release-1.6.2104from
tex3d:cp-82422d776-to-release

Conversation

@tex3d
Copy link
Copy Markdown
Contributor

@tex3d tex3d commented Mar 29, 2021

When compiling a library without 16-bit support, certain struct types
containing either min precision types or matrices must be saved in
reflection data for conversion after linking. However, this is only
necessary when the types are used by a resource.

Instead of evaluating all matrix types and saving those that meet this
criteria, only the types used by resources are evaluated and possibly
preserved. This significantly shrinks the reflection size in this case.

(cherry picked from commit 82422d7)

When compiling a library without 16-bit support, certain struct types
containing either min precision types or matrices must be saved in
reflection data for conversion after linking. However, this is only
necessary when the types are used by a resource.

Instead of evaluating all matrix types and saving those that meet this
criteria, only the types used by resources are evaluated and possibly
preserved. This significantly shrinks the reflection size in this case.

(cherry picked from commit 82422d7)
@tex3d tex3d requested a review from pow2clk March 29, 2021 21:55
Copy link
Copy Markdown
Collaborator

@pow2clk pow2clk left a comment

Choose a reason for hiding this comment

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

I remembered it being longer somehow 😆 as many iterations as it went through, it probably was at one point

@AppVeyorBot
Copy link
Copy Markdown

@pow2clk pow2clk merged commit b222608 into microsoft:release-1.6.2104 Mar 29, 2021
@tex3d tex3d deleted the cp-82422d776-to-release branch March 30, 2021 01:10
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