summaryrefslogtreecommitdiffstats
path: root/tests/hlsl/dxsdk/Direct3D11TutorialsDXUT/Tutorial09
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2018-12-03 14:57:19 -0800
committerGitHub <noreply@github.com>2018-12-03 14:57:19 -0800
commitd161d97681937f0546eb8835cf9e497cb1b4369c (patch)
tree3d02ba21b7ca3fe739232b2846401511b80e4b52 /tests/hlsl/dxsdk/Direct3D11TutorialsDXUT/Tutorial09
parent3d60cc0ca818556b78f38a59eb5521044b8a6b71 (diff)
Add Vulkan translations for HLSL barrier operations (#737)
Fixes #730 The most basic of these already had translations added, and the Slang approach to cross-compilation made adding the new ones almost trivial. I also took the time to confirm that using "operator comma" for the sequencing (since the single HLSL function call needs to expand to a sequence of GLSL function calls) works fine with glslang. I added a test case to confirm that all of these operations can compile down to SPIR-V. I am not personally confident that these translations are perfect, but they are based on what was [linked](https://anteru.net/blog/2016/mapping-between-hlsl-and-glsl/index.html) from #730. The one difference is where that blog post was listing `memoryBarrierImage, memoryBarrierImage` I assumed they meant `memoryBarrierImage, memoryBarrierBuffer`.
Diffstat (limited to 'tests/hlsl/dxsdk/Direct3D11TutorialsDXUT/Tutorial09')
0 files changed, 0 insertions, 0 deletions