diff options
Diffstat (limited to 'source/slang/slang-emit-spirv-ops.h')
| -rw-r--r-- | source/slang/slang-emit-spirv-ops.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/source/slang/slang-emit-spirv-ops.h b/source/slang/slang-emit-spirv-ops.h index a5e4d730a..da9058b62 100644 --- a/source/slang/slang-emit-spirv-ops.h +++ b/source/slang/slang-emit-spirv-ops.h @@ -600,28 +600,6 @@ SpvInst* emitOpLoad( return emitInst(parent, inst, SpvOpLoad, idResultType, kResultID, pointer, memoryAccess); } -// https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpLoad -template<typename T1, typename T2> -SpvInst* emitOpLoadAligned( - SpvInstParent* parent, - IRInst* inst, - const T1& idResultType, - const T2& pointer, - const SpvLiteralInteger& literalInteger) -{ - static_assert(isSingular<T1>); - static_assert(isSingular<T2>); - return emitInst( - parent, - inst, - SpvOpLoad, - idResultType, - kResultID, - pointer, - SpvMemoryAccessAlignedMask, - literalInteger); -} - // https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpStore template<typename T1, typename T2> SpvInst* emitOpStore( @@ -636,27 +614,6 @@ SpvInst* emitOpStore( return emitInst(parent, inst, SpvOpStore, pointer, object, memoryAccess); } -// https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpStore -template<typename T1, typename T2> -SpvInst* emitOpStoreAligned( - SpvInstParent* parent, - IRInst* inst, - const T1& pointer, - const T2& object, - const SpvLiteralInteger& literalInteger) -{ - static_assert(isSingular<T1>); - static_assert(isSingular<T2>); - return emitInst( - parent, - inst, - SpvOpStore, - pointer, - object, - SpvMemoryAccessAlignedMask, - literalInteger); -} - // https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpAccessChain template<typename T1, typename T2, typename Ts> SpvInst* emitOpAccessChain( |
