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

Update ib count #25

Closed
wants to merge 8 commits into from
Closed

Conversation

wangra-google
Copy link
Collaborator

update the max ib count to 256

- use the same funciton to generate union for both pm4 and reg
- fix the case where both bitfield is used to extend bitset for a reg
- use union/enum instead of uint32 for non-buildin types
- INDEX_SIZE is using type pc_di_index_size which needs 2 bits, the fix is following the definition of vgt_draw_initiator_a4xx
@wangra-google wangra-google requested a review from bjoeris October 24, 2023 15:45
@@ -191,7 +191,7 @@ class EmulatePM4
// Keep all emulation state together
struct EmulateState
{
static const uint32_t kMaxPendingIbs = 100;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you give context on this?
The reason it's 100 is because I didn't think set_draw_state ever exceeded 100 count. Are you saying that's possible?

If we're exceeding this # for a non-set-draw-state, then we could be dealing with a bug.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

replied in the chatroom, we can continue the discussion there. Benson has more info on the capture.

@shanminchao
Copy link
Collaborator

PR 32 fixes this issue properly. We can probably close this PR.

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