Skip to content

layers: Remove excess state object lookups#3541

Merged
jeremyg-lunarg merged 1 commit into
KhronosGroup:masterfrom
jeremyg-lunarg:jeremyg-image-get
Nov 17, 2021
Merged

layers: Remove excess state object lookups#3541
jeremyg-lunarg merged 1 commit into
KhronosGroup:masterfrom
jeremyg-lunarg:jeremyg-image-get

Conversation

@jeremyg-lunarg

Copy link
Copy Markdown
Contributor

Remove some places where we were doing unnecessary lookups of
state objects from handles, when there is already a pointer to the
state object available. None of these seem to have a measurable
performance difference, but that might change once we move to
fine grained locking.

Remove some places where we were doing unnecessary lookups of
state objects from handles, when there is already a pointer to the
state object available. None of these seem to have a measurable
performance difference, but that might change once we move to
fine grained locking.
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 1769.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build # 5523 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI Vulkan-ValidationLayers build # 5523 passed.

@ncesario-lunarg ncesario-lunarg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@jeremyg-lunarg jeremyg-lunarg merged commit 057f9d5 into KhronosGroup:master Nov 17, 2021
@jeremyg-lunarg jeremyg-lunarg deleted the jeremyg-image-get branch November 17, 2021 17:26

@jzulauf-lunarg jzulauf-lunarg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These seem strangely familiar... LGTM2

@jeremyg-lunarg

Copy link
Copy Markdown
Contributor Author

These seem strangely familiar... LGTM2

Yes, with a couple of extras.

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.

4 participants