Skip to content

GLSL_QCOM_multiple_wait_queues#4250

Open
wooyoungqcom wants to merge 1 commit into
KhronosGroup:mainfrom
CodeLinaro:GLSL_QCOM_multiple_wait_queues
Open

GLSL_QCOM_multiple_wait_queues#4250
wooyoungqcom wants to merge 1 commit into
KhronosGroup:mainfrom
CodeLinaro:GLSL_QCOM_multiple_wait_queues

Conversation

@wooyoungqcom

Copy link
Copy Markdown
Contributor

No description provided.

@CLAassistant

CLAassistant commented May 6, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@wooyoungqcom wooyoungqcom force-pushed the GLSL_QCOM_multiple_wait_queues branch 2 times, most recently from 1ba01bb to 658e89c Compare May 6, 2026 19:04
@wooyoungqcom wooyoungqcom force-pushed the GLSL_QCOM_multiple_wait_queues branch from 658e89c to 14990ce Compare May 12, 2026 20:16
%parse-param {glslang::TParseContext* pParseContext}
%lex-param {parseContext}
%pure-parser // enable thread safety
%define api.pure // enable thread safety

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.

The bison documentation says this should be %define api.pure full but apparently it doesn't make a difference with the current version of bison.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What do you want me to do? My local bison complained about it.

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.

I think the change you have in the PR is fine.

Comment thread SPIRV/GlslangToSpv.cpp
operands.push_back(loopNode.getPartialCount());
}
}
if (loopNode.getMultipleWaitQueuesQCOM() != loopNode./*TIntermLoop::*/noMultipleQaitQueues) {

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.

Commented out code, you should remove it.

if (it->size() == 0)
loop->setMultipleWaitQueuesQCOM(0);
else
if (positiveSignedArgument("multiple_wait_queuesQCOM", value))

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.

I think this will silently fail for non-positive arguments. You need to include handling for that case and tests to exercise it.

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