From d8a8559a5baebb81361b15cf86d28c9e8019b177 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Wed, 5 Feb 2025 16:23:40 -0800 Subject: maxtessfactor attribute should take a floating point value (#6289) * maxtessfactor attribute should take a floating point value * Support integer value on maxtessfactor --- source/slang/slang-ir.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/slang/slang-ir.cpp') diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp index 6a7564e67..3314567f1 100644 --- a/source/slang/slang-ir.cpp +++ b/source/slang/slang-ir.cpp @@ -2678,6 +2678,11 @@ IRBasicType* IRBuilder::getUInt8Type() return (IRBasicType*)getType(kIROp_UInt8Type); } +IRBasicType* IRBuilder::getFloatType() +{ + return (IRBasicType*)getType(kIROp_FloatType); +} + IRBasicType* IRBuilder::getCharType() { return (IRBasicType*)getType(kIROp_CharType); -- cgit v1.2.3