Add ES 300 built-ins trunc, round, roundEven, modf, isnan, isinf, floatBitsToInt, floatBitsToUint, intBitsToFloat, uintBitsToFloat, packSnorm2x16, unpackSnorm2x16, packUnorm2x16, unpackUnorm2x16, packHalf2x16, and unpackHalf2x16, and new form of min, max, clamp, and mix.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@21063 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
4ba94413d3
commit
ad3663be1f
7 changed files with 292 additions and 1 deletions
|
|
@ -160,8 +160,12 @@ enum TOperator {
|
|||
EOpAbs,
|
||||
EOpSign,
|
||||
EOpFloor,
|
||||
EOpTrunc,
|
||||
EOpRound,
|
||||
EOpRoundEven,
|
||||
EOpCeil,
|
||||
EOpFract,
|
||||
EOpModf,
|
||||
EOpMin,
|
||||
EOpMax,
|
||||
EOpClamp,
|
||||
|
|
@ -169,6 +173,20 @@ enum TOperator {
|
|||
EOpStep,
|
||||
EOpSmoothStep,
|
||||
|
||||
EOpIsNan,
|
||||
EOpIsInf,
|
||||
|
||||
EOpFloatBitsToInt,
|
||||
EOpFloatBitsToUint,
|
||||
EOpIntBitsToFloat,
|
||||
EOpUintBitsToFloat,
|
||||
EOpPackSnorm2x16,
|
||||
EOpUnpackSnorm2x16,
|
||||
EOpPackUnorm2x16,
|
||||
EOpUnpackUnorm2x16,
|
||||
EOpPackHalf2x16,
|
||||
EOpUnpackHalf2x16,
|
||||
|
||||
EOpLength,
|
||||
EOpDistance,
|
||||
EOpDot,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue