From 725735a87b9d223c2afc83bbd049055b1e44a976 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 16 May 2024 10:43:49 -0700 Subject: RasterizerOrder resource for spirv and metal. (#4175) * RasterizerOrder resource for spirv and metal. Also fixes the byte address buffer logic for metal. * Fix. * Delete commented lines. --------- Co-authored-by: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> --- source/slang/slang-ir.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source/slang/slang-ir.cpp') diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp index c0bec9654..cc095a0cb 100644 --- a/source/slang/slang-ir.cpp +++ b/source/slang/slang-ir.cpp @@ -2665,6 +2665,16 @@ namespace Slang return (IRBasicType*)getType(kIROp_UInt64Type); } + IRBasicType* IRBuilder::getUInt16Type() + { + return (IRBasicType*)getType(kIROp_UInt16Type); + } + + IRBasicType* IRBuilder::getUInt8Type() + { + return (IRBasicType*)getType(kIROp_UInt8Type); + } + IRBasicType* IRBuilder::getCharType() { return (IRBasicType*)getType(kIROp_CharType); -- cgit v1.2.3