Skip to content

Use i32 to fake 64bit for buffer load/store. - #63

Merged
Xiang Li (python3kgae) merged 2 commits into
microsoft:dxil-v1.0from
python3kgae:uint64_on_buffer
Feb 3, 2017
Merged

Xiang Li (python3kgae) merged 2 commits into
microsoft:dxil-v1.0from
python3kgae:uint64_on_buffer

Conversation

@python3kgae

Copy link
Copy Markdown
Contributor

No description provided.

@msftclas

Hi Xiang Li (@python3kgae), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!


It looks like you're a Microsoft contributor (Xiang Li). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Comment thread lib/HLSL/DxilValidation.cpp Outdated
CI, ValidationRule::InstrWriteMaskMatchValueForUAVStore);
ValCtx.EmitInstrFormatError(
CI, ValidationRule::InstrWriteMaskMatchValueForUAVStore,
{std::to_string(uMask).c_str(), std::to_string(stValMask).c_str()});

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.

Be careful taking c_str() of these temporary strings. Probably safer to declare the strings above just to make sure the lifetimes fully extend.

@python3kgae
Xiang Li (python3kgae) merged commit f43f396 into microsoft:dxil-v1.0 Feb 3, 2017
@python3kgae
Xiang Li (python3kgae) deleted the uint64_on_buffer branch February 3, 2017 01:48
Xiang Li (python3kgae) added a commit to python3kgae/DirectXShaderCompiler that referenced this pull request Feb 3, 2017
Xiang Li (python3kgae) added a commit to python3kgae/DirectXShaderCompiler that referenced this pull request Feb 10, 2017
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