mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-04 17:35:43 +00:00
Add "refract()" intrinsic support to hlslparser
This commit is contained in:
4
vendor/hlslparser/src/HLSLParser.cpp
vendored
4
vendor/hlslparser/src/HLSLParser.cpp
vendored
@ -620,6 +620,10 @@ const Intrinsic _intrinsic[] =
|
||||
INTRINSIC_FLOAT2_FUNCTION( "step" ),
|
||||
INTRINSIC_FLOAT2_FUNCTION( "reflect" ),
|
||||
|
||||
Intrinsic("refract", HLSLBaseType_Float2, HLSLBaseType_Float2, HLSLBaseType_Float2, HLSLBaseType_Float),
|
||||
Intrinsic("refract", HLSLBaseType_Float3, HLSLBaseType_Float3, HLSLBaseType_Float3, HLSLBaseType_Float),
|
||||
Intrinsic("refract", HLSLBaseType_Float4, HLSLBaseType_Float4, HLSLBaseType_Float4, HLSLBaseType_Float),
|
||||
|
||||
Intrinsic("isnan", HLSLBaseType_Bool, HLSLBaseType_Float),
|
||||
Intrinsic("isinf", HLSLBaseType_Bool, HLSLBaseType_Float),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user