Update instructionset listing
This commit is contained in:
Generated
+1
-1
@@ -637,7 +637,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "erroccfisuvsc"
|
name = "erroccfisuvsc"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytemuck",
|
"bytemuck",
|
||||||
"egui",
|
"egui",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "erroccfisuvsc"
|
name = "erroccfisuvsc"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ fn main() -> io::Result<()> {
|
|||||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||||
pub(crate) enum InputTypes{
|
pub(crate) enum InputTypes{
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
Float,
|
Vec1,
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
Vec2,
|
Vec2,
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
@@ -24,14 +24,18 @@ fn main() -> io::Result<()> {
|
|||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
Vec4,
|
Vec4,
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
Mat2,
|
VecX,
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
Mat3,
|
MatX1,
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
Mat4,
|
MatX2,
|
||||||
|
#[allow(non_snake_case)]
|
||||||
|
MatX3,
|
||||||
|
#[allow(non_snake_case)]
|
||||||
|
MatX4,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[repr(u16)]
|
#[repr(u8)]
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||||
pub(crate) enum InstructionSet{
|
pub(crate) enum InstructionSet{
|
||||||
@@ -63,8 +67,11 @@ fn main() -> io::Result<()> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let name = &entries[0][11..entries[0].len() - 12];
|
let name = &entries[0][11..entries[0].len() - 12];
|
||||||
|
let comment = entries[3];
|
||||||
|
|
||||||
out += &format!("#[allow(non_snake_case)]\n#[allow(dead_code)]\n{name}={index},\n");
|
out += &format!(
|
||||||
|
"#[allow(non_snake_case)]\n#[allow(dead_code)]\n/// {comment}\n{name}={index},\n"
|
||||||
|
);
|
||||||
|
|
||||||
inputimpl += &format!("#[allow(non_snake_case)]\nInstructionSet::{name} => vec![");
|
inputimpl += &format!("#[allow(non_snake_case)]\nInstructionSet::{name} => vec![");
|
||||||
for input in entries[1].split(' ').map(str::trim) {
|
for input in entries[1].split(' ').map(str::trim) {
|
||||||
@@ -72,13 +79,15 @@ fn main() -> io::Result<()> {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
match input {
|
match input {
|
||||||
"F" => inputimpl += "InputTypes::Float,",
|
"V1" => inputimpl += "InputTypes::Vec1,",
|
||||||
"V2" => inputimpl += "InputTypes::Vec2,",
|
"V2" => inputimpl += "InputTypes::Vec2,",
|
||||||
"V3" => inputimpl += "InputTypes::Vec3,",
|
"V3" => inputimpl += "InputTypes::Vec3,",
|
||||||
"V4" => inputimpl += "InputTypes::Vec4,",
|
"V4" => inputimpl += "InputTypes::Vec4,",
|
||||||
"M2" => inputimpl += "InputTypes::Mat2,",
|
"VX" => inputimpl += "InputTypes::VecX,",
|
||||||
"M3" => inputimpl += "InputTypes::Mat3,",
|
"MX1" => inputimpl += "InputTypes::MatX1,",
|
||||||
"M4" => inputimpl += "InputTypes::Mat4,",
|
"MX2" => inputimpl += "InputTypes::MatX2,",
|
||||||
|
"MX3" => inputimpl += "InputTypes::MatX3,",
|
||||||
|
"MX4" => inputimpl += "InputTypes::MatX4,",
|
||||||
_ => panic!("unknown input?? [{input}]"),
|
_ => panic!("unknown input?? [{input}]"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -90,13 +99,11 @@ fn main() -> io::Result<()> {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
match output {
|
match output {
|
||||||
"F" => outputimpl += "InputTypes::Float,",
|
"V1" => outputimpl += "InputTypes::Vec1,",
|
||||||
"V2" => outputimpl += "InputTypes::Vec2,",
|
"V2" => outputimpl += "InputTypes::Vec2,",
|
||||||
"V3" => outputimpl += "InputTypes::Vec3,",
|
"V3" => outputimpl += "InputTypes::Vec3,",
|
||||||
"V4" => outputimpl += "InputTypes::Vec4,",
|
"V4" => outputimpl += "InputTypes::Vec4,",
|
||||||
"M2" => outputimpl += "InputTypes::Mat2,",
|
"VX" => outputimpl += "InputTypes::VecX,",
|
||||||
"M3" => outputimpl += "InputTypes::Mat3,",
|
|
||||||
"M4" => outputimpl += "InputTypes::Mat4,",
|
|
||||||
_ => panic!("unknown output?? [{output}]"),
|
_ => panic!("unknown output?? [{output}]"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+149
-213
@@ -1,213 +1,149 @@
|
|||||||
const uint OPNop=__LINE__-1; // //
|
const uint OPNop=__LINE__-1; // // // No operation.
|
||||||
const uint OPStop=__LINE__-1; //F //
|
const uint OPStop=__LINE__-1; // // // Stops execution of the tape and returns 0.
|
||||||
const uint OPAddFloatFloat=__LINE__-1; //F F //F
|
const uint OPReturn=__LINE__-1; //V1 // // Stops execution of the tape and returns a single value.
|
||||||
const uint OPAddVec2Vec2=__LINE__-1; //V2 V2 //V2
|
const uint OPPosition=__LINE__-1; // //V3 // Returns the current position being sampled.
|
||||||
const uint OPAddVec2Float=__LINE__-1; //V2 F //V2
|
const uint OPPositionX=__LINE__-1; // //V1 // Returns the X component of the current position being sampled.
|
||||||
const uint OPAddVec3Vec3=__LINE__-1; //V3 V3 //V3
|
const uint OPPositionY=__LINE__-1; // //V1 // Returns the Y component of the current position being sampled.
|
||||||
const uint OPAddVec3Float=__LINE__-1; //V3 F //V3
|
const uint OPPositionZ=__LINE__-1; // //V1 // Returns the Z component of the current position being sampled.
|
||||||
const uint OPAddVec4Vec4=__LINE__-1; //V4 V4 //V4
|
const uint OPCopyVecX=__LINE__-1; //V1 //V1 // Returns the input. Useful for copying registers.
|
||||||
const uint OPAddVec4Float=__LINE__-1; //V4 F //V4
|
const uint OPPromoteVec1Vec1Vec2=__LINE__-1; //V1 V1 //V2 // Copies two Vec1 registers into a single Vec2.
|
||||||
const uint OPSubFloatFloat=__LINE__-1; //F F //F
|
const uint OPPromoteVec1Vec1Vec1Vec3=__LINE__-1; //V1 V1 V1 //V3 // Copies three Vec1 registers into a single Vec3.
|
||||||
const uint OPSubVec2Vec2=__LINE__-1; //V2 V2 //V2
|
const uint OPPromoteVec1Vec1Vec1Vec1Vec4=__LINE__-1; //V1 V1 V1 V1 //V4 // Copies four Vec1 registers into a single Vec4.
|
||||||
const uint OPSubVec2Float=__LINE__-1; //V2 F //V2
|
const uint OPPromoteVec2Vec1Vec3=__LINE__-1; //V2 V1 //V3 // Copies one Vec2 register and one Vec1 register into a single Vec3.
|
||||||
const uint OPSubVec3Vec3=__LINE__-1; //V3 V3 //V3
|
const uint OPPromoteVec1Vec2Vec3=__LINE__-1; //V1 V2 //V3 // Copies one Vec1 register and one Vec2 register into a single Vec3.
|
||||||
const uint OPSubVec3Float=__LINE__-1; //V3 F //V3
|
const uint OPPromoteVec2Vec1Vec1Vec4=__LINE__-1; //V2 V1 V1 //V4 // Copies one Vec2 register and two Vec1 registers into a single Vec4.
|
||||||
const uint OPSubVec4Vec4=__LINE__-1; //V4 V4 //V4
|
const uint OPPromoteVec1Vec2Vec1Vec4=__LINE__-1; //V1 V2 V1 //V4 // Copies one Vec1 register, one Vec2 register, and one Vec1 register into a single Vec4.
|
||||||
const uint OPSubVec4Float=__LINE__-1; //V4 F //V4
|
const uint OPPromoteVec1Vec1Vec2Vec4=__LINE__-1; //V1 V1 V2 //V4 // Copies two Vec1 registers and one Vec2 register into a single Vec4.
|
||||||
const uint OPMulFloatFloat=__LINE__-1; //F F //F
|
const uint OPPromoteVec2Vec2Vec4=__LINE__-1; //V2 V2 //V4 // Copies two Vec2 registers into a single Vec4.
|
||||||
const uint OPMulVec2Vec2=__LINE__-1; //V2 V2 //V2
|
const uint OPPromoteVec3Vec1Vec4=__LINE__-1; //V3 V1 //V4 // Copies one Vec3 register and one Vec1 register into a single Vec4.
|
||||||
const uint OPMulVec2Float=__LINE__-1; //V2 F //V2
|
const uint OPPromoteVec1Vec3Vec4=__LINE__-1; //V1 V3 //V4 // Copies one Vec1 register and one Vec3 register into a single Vec4.
|
||||||
const uint OPMulVec3Vec3=__LINE__-1; //V3 V3 //V3
|
const uint OPAddVecXVecX=__LINE__-1; //V1 V1 //V1 // Adds a VecX to a VecX component-wise.
|
||||||
const uint OPMulVec3Float=__LINE__-1; //V3 F //V3
|
const uint OPAddVec1VecX=__LINE__-1; //V1 VX //VX // Adds a Vec1 to a VecX component-wise.
|
||||||
const uint OPMulVec4Vec4=__LINE__-1; //V4 V4 //V4
|
const uint OPAddVecXVec1=__LINE__-1; //VX V1 //VX // Adds a VecX to a Vec1 component-wise.
|
||||||
const uint OPMulVec4Float=__LINE__-1; //V4 F //V4
|
const uint OPSubVecXVecX=__LINE__-1; //V1 V1 //V1 // Subtracts a VecX from a VecX component-wise.
|
||||||
const uint OPDivFloatFloat=__LINE__-1; //F F //F
|
const uint OPSubVec1VecX=__LINE__-1; //V1 VX //VX // Subtracts a VecX from a Vec1 component-wise.
|
||||||
const uint OPDivVec2Vec2=__LINE__-1; //V2 V2 //V2
|
const uint OPSubVecXVec1=__LINE__-1; //VX V1 //VX // Subtracts a Vec1 from a VecX component-wise.
|
||||||
const uint OPDivVec2Float=__LINE__-1; //V2 F //V2
|
const uint OPMulVecXVecX=__LINE__-1; //V1 V1 //V1 // Multiplies a VecX and a VecX component-wise.
|
||||||
const uint OPDivVec3Vec3=__LINE__-1; //V3 V3 //V3
|
const uint OPMulVec1VecX=__LINE__-1; //V1 VX //VX // Multiplies a Vec1 and a VecX component-wise.
|
||||||
const uint OPDivVec3Float=__LINE__-1; //V3 F //V3
|
const uint OPMulVecXVec1=__LINE__-1; //VX V1 //VX // Multiplies a VecX and a Vec1 component-wise.
|
||||||
const uint OPDivVec4Vec4=__LINE__-1; //V4 V4 //V4
|
const uint OPDivVecXVecX=__LINE__-1; //V1 V1 //V1 // Divides a VecX by a VecX component-wise.
|
||||||
const uint OPDivVec4Float=__LINE__-1; //V4 F //V4
|
const uint OPDivVec1VecX=__LINE__-1; //V1 VX //VX // Divides a Vec1 by a VecX component-wise.
|
||||||
const uint OPModFloatFloat=__LINE__-1; //F F //F
|
const uint OPDivVecXVec1=__LINE__-1; //VX V1 //VX // Divides a VecX by a Vec1 component-wise.
|
||||||
const uint OPModVec2Vec2=__LINE__-1; //V2 V2 //V2
|
const uint OPModVecXVecX=__LINE__-1; //V1 V1 //V1 // Calculates a VecX modulo a VecX component-wise.
|
||||||
const uint OPModVec2Float=__LINE__-1; //V2 F //V2
|
const uint OPModVec1VecX=__LINE__-1; //V1 VX //VX // Calculates a Vec1 modulo a VecX component-wise.
|
||||||
const uint OPModVec3Vec3=__LINE__-1; //V3 V3 //V3
|
const uint OPModVecXVec1=__LINE__-1; //VX V1 //VX // Calculates a VecX modulo a Vec1 component-wise.
|
||||||
const uint OPModVec3Float=__LINE__-1; //V3 F //V3
|
const uint OPRemVecXVecX=__LINE__-1; //V1 V1 //V1 // Calculates a VecX remainder a VecX component-wise.
|
||||||
const uint OPModVec4Vec4=__LINE__-1; //V4 V4 //V4
|
const uint OPRemVec1VecX=__LINE__-1; //V1 VX //VX // Calculates a Vec1 remainder a VecX component-wise.
|
||||||
const uint OPModVec4Float=__LINE__-1; //V4 F //V4
|
const uint OPRemVecXVec1=__LINE__-1; //VX V1 //VX // Calculates a VecX remainder a Vec1 component-wise.
|
||||||
const uint OPPowFloatFloat=__LINE__-1; //F F //F
|
const uint OPPowVecXVecX=__LINE__-1; //V1 V1 //V1 // Calculates a VecX to the power of a VecX component-wise.
|
||||||
const uint OPPowVec2Vec2=__LINE__-1; //V2 V2 //V2
|
const uint OPPowVec1VecX=__LINE__-1; //V1 VX //VX // Calculates a Vec1 to the power of a VecX component-wise.
|
||||||
const uint OPPowVec3Vec3=__LINE__-1; //V3 V3 //V3
|
const uint OPPowVecXVec1=__LINE__-1; //VX V1 //VX // Calculates a VecX to the power of a Vec1 component-wise.
|
||||||
const uint OPPowVec4Vec4=__LINE__-1; //V4 V4 //V4
|
const uint OPAtan2VecXVecX=__LINE__-1; //V1 V1 //V1 // Calculates a VecX Atan2 a VecX component-wise.
|
||||||
const uint OPCrossVec3=__LINE__-1; //V3 V3 //V3
|
const uint OPAtan2Vec1VecX=__LINE__-1; //V1 VX //VX // Calculates a Vec1 Atan2 a VecX component-wise.
|
||||||
const uint OPDotVec2=__LINE__-1; //V2 V2 //F
|
const uint OPAtan2VecXVec1=__LINE__-1; //VX V1 //VX // Calculates a VecX Atan2 a Vec1 component-wise.
|
||||||
const uint OPDotVec3=__LINE__-1; //V3 V3 //F
|
const uint OPMinVecXVecX=__LINE__-1; //V1 V1 //V1 // Calculates the minimum of a VecX and a VecX component-wise.
|
||||||
const uint OPDotVec4=__LINE__-1; //V4 V4 //F
|
const uint OPMinVec1VecX=__LINE__-1; //V1 VX //VX // Calculates the minimum of a Vec1 and a VecX component-wise.
|
||||||
const uint OPLengthVec2=__LINE__-1; //V2 //F
|
const uint OPMinVecXVec1=__LINE__-1; //VX V1 //VX // Calculates the minimum of a VecX and a Vec1 component-wise.
|
||||||
const uint OPLengthVec3=__LINE__-1; //V3 //F
|
const uint OPMinMaterialVec1Vec1=__LINE__-1; //V1 V1 //V1 // Calculates the minimum of two Vec1s, and also carries over the relevant material metadata.
|
||||||
const uint OPLengthVec4=__LINE__-1; //V4 //F
|
const uint OPMaxVecXVecX=__LINE__-1; //V1 V1 //V1 // Calculates the maximum of a VecX and a VecX component-wise.
|
||||||
const uint OPDistanceVec2=__LINE__-1; //V2 V2 //F
|
const uint OPMaxVec1VecX=__LINE__-1; //V1 VX //VX // Calculates the maximum of a Vec1 and a VecX component-wise.
|
||||||
const uint OPDistanceVec3=__LINE__-1; //V3 V3 //F
|
const uint OPMaxVecXVec1=__LINE__-1; //VX V1 //VX // Calculates the maximum of a VecX and a Vec1 component-wise.
|
||||||
const uint OPDistanceVec4=__LINE__-1; //V4 V4 //F
|
const uint OPMaxMaterialVec1Vec1=__LINE__-1; //V1 V1 //V1 // Calculates the maximum of two Vec1s, and also carries over the relevant material metadata.
|
||||||
const uint OPNormalizeVec2=__LINE__-1; //V2 //V2
|
const uint OPCrossVec3Vec3=__LINE__-1; //V3 V3 //V3 // Returns the cross product of two Vec3s.
|
||||||
const uint OPNormalizeVec3=__LINE__-1; //V2 //V2
|
const uint OPDotVecXVecX=__LINE__-1; //VX VX //V1 // Returns the dot product of two VecXs.
|
||||||
const uint OPNormalizeVec4=__LINE__-1; //V4 //V4
|
const uint OPLengthVecX=__LINE__-1; //VX //V1 // Returns the length (magnitude) of a VecX.
|
||||||
const uint OPAbsFloat=__LINE__-1; //F //F
|
const uint OPDistanceVecXVecX=__LINE__-1; //VX VX //V1 // Returns the length (magnitude) of the vector between two VecXs.
|
||||||
const uint OPSignFloat=__LINE__-1; //F //F
|
const uint OPNormalizeVecX=__LINE__-1; //VX //VX // Returns the normalised version of a VecX.
|
||||||
const uint OPFloorFloat=__LINE__-1; //F //F
|
const uint OPFaceForwardVecXVecX=__LINE__-1; //VX VX //VX // See GLSL's "FaceForward"
|
||||||
const uint OPCeilFloat=__LINE__-1; //F //F
|
const uint OPReflectVecXVecX=__LINE__-1; //VX VX //VX // See GLSL's "Reflect"
|
||||||
const uint OPFractFloat=__LINE__-1; //F //F
|
const uint OPRefractVecXVecXVec1=__LINE__-1; //VX VX V1 //VX // See GLSL's "Refract"
|
||||||
const uint OPSqrtFloat=__LINE__-1; //F //F
|
const uint OPMulVecXMatX1=__LINE__-1; //VX MX1 //VX // Multiplies an X long vector by an X by 1 sized matrix, returning an X long vector.
|
||||||
const uint OPInverseSqrtFloat=__LINE__-1; //F //F
|
const uint OPMulVecXMatX2=__LINE__-1; //VX MX2 //VX // Multiplies an X long vector by an X by 2 sized matrix, returning an X long vector.
|
||||||
const uint OPExpFloat=__LINE__-1; //F //F
|
const uint OPMulVecXMatX3=__LINE__-1; //VX MX3 //VX // Multiplies an X long vector by an X by 3 sized matrix, returning an X long vector.
|
||||||
const uint OPExp2Float=__LINE__-1; //F //F
|
const uint OPMulVecXMatX4=__LINE__-1; //VX MX4 //VX // Multiplies an X long vector by an X by 4 sized matrix, returning an X long vector.
|
||||||
const uint OPLogFloat=__LINE__-1; //F //F
|
const uint OPNegateVecX=__LINE__-1; //VX //VX // Returns the negation of all components of a VecX.
|
||||||
const uint OPLog2Float=__LINE__-1; //F //F
|
const uint OPRoundVecX=__LINE__-1; //VX //VX // Returns all components of a VecX rounded to the nearest integer.
|
||||||
const uint OPSinFloat=__LINE__-1; //F //F
|
const uint OPRoundEvenVecX=__LINE__-1; //VX //VX // Returns all components of a VecX rounded to the nearest even integer.
|
||||||
const uint OPCosFloat=__LINE__-1; //F //F
|
const uint OPTruncVecX=__LINE__-1; //VX //VX // Returns all components of a VecX rounded towards zero.
|
||||||
const uint OPTanFloat=__LINE__-1; //F //F
|
const uint OPAbsVecX=__LINE__-1; //VX //VX // Returns the absolute value of all components of a VecX.
|
||||||
const uint OPAsinFloat=__LINE__-1; //F //F
|
const uint OPSignVecX=__LINE__-1; //VX //VX // Returns the sign of all components of a VecX.
|
||||||
const uint OPAcosFloat=__LINE__-1; //F //F
|
const uint OPFloorVecX=__LINE__-1; //VX //VX // Returns the floor of all components of a VecX.
|
||||||
const uint OPAtanFloat=__LINE__-1; //F //F
|
const uint OPCeilVecX=__LINE__-1; //VX //VX // Returns the ceiling of all components of a VecX.
|
||||||
const uint OPMinFloat=__LINE__-1; //F F //F
|
const uint OPFractVecX=__LINE__-1; //VX //VX // Returns the fractional part of all components of a VecX.
|
||||||
const uint OPMaxFloat=__LINE__-1; //F F //F
|
const uint OPRadiansVecX=__LINE__-1; //VX //VX // Converts all components of a VecX from degrees to radians.
|
||||||
const uint OPSmoothMinFloat=__LINE__-1; //F F F //F
|
const uint OPDegreesVecX=__LINE__-1; //VX //VX // Converts all components of a VecX from radians to degrees.
|
||||||
const uint OPSmoothMaxFloat=__LINE__-1; //F F F //F
|
const uint OPSinVecX=__LINE__-1; //VX //VX // Returns the sine of all components of a VecX.
|
||||||
const uint OPMinMaterialFloat=__LINE__-1; //F F //F
|
const uint OPCosVecX=__LINE__-1; //VX //VX // Returns the cosine of all components of a VecX.
|
||||||
const uint OPMaxMaterialFloat=__LINE__-1; //F F //F
|
const uint OPTanVecX=__LINE__-1; //VX //VX // Returns the tangent of all components of a VecX.
|
||||||
const uint OPSmoothMinMaterialFloat=__LINE__-1; //F F F //F
|
const uint OPAsinVecX=__LINE__-1; //VX //VX // Returns the arc sine of all components of a VecX.
|
||||||
const uint OPSmoothMaxMaterialFloat=__LINE__-1; //F F F //F
|
const uint OPAcosVecX=__LINE__-1; //VX //VX // Returns the arc cosine of all components of a VecX.
|
||||||
const uint OPCopyFloat=__LINE__-1; //F //F
|
const uint OPAtanVecX=__LINE__-1; //VX //VX // Returns the arc tangent of all components of a VecX.
|
||||||
const uint OPAbsVec2=__LINE__-1; //V2 //V2
|
const uint OPSinhVecX=__LINE__-1; //VX //VX // Returns the hyperbolic sine of all components of a VecX.
|
||||||
const uint OPSignVec2=__LINE__-1; //V2 //V2
|
const uint OPCoshVecX=__LINE__-1; //VX //VX // Returns the hyperbolic cosine of all components of a VecX.
|
||||||
const uint OPFloorVec2=__LINE__-1; //V2 //V2
|
const uint OPTanhVecX=__LINE__-1; //VX //VX // Returns the hyperbolic tangent of all components of a VecX.
|
||||||
const uint OPCeilVec2=__LINE__-1; //V2 //V2
|
const uint OPAsinhVecX=__LINE__-1; //VX //VX // Returns the hyperbolic arc sine of all components of a VecX.
|
||||||
const uint OPFractVec2=__LINE__-1; //V2 //V2
|
const uint OPAcoshVecX=__LINE__-1; //VX //VX // Returns the hyperbolic arc cosine of all components of a VecX.
|
||||||
const uint OPSqrtVec2=__LINE__-1; //V2 //V2
|
const uint OPAtanhVecX=__LINE__-1; //VX //VX // Returns the hyperbolic arc tangent of all components of a VecX.
|
||||||
const uint OPInverseSqrtVec2=__LINE__-1; //V2 //V2
|
const uint OPExpVecX=__LINE__-1; //VX //VX // Returns e raised to all components of a VecX.
|
||||||
const uint OPExpVec2=__LINE__-1; //V2 //V2
|
const uint OPLogVecX=__LINE__-1; //VX //VX // Returns the natural logarithm of all components of a VecX.
|
||||||
const uint OPExp2Vec2=__LINE__-1; //V2 //V2
|
const uint OPExp2VecX=__LINE__-1; //VX //VX // Returns 2 raised to all components of a VecX.
|
||||||
const uint OPLogVec2=__LINE__-1; //V2 //V2
|
const uint OPLog2VecX=__LINE__-1; //VX //VX // Returns the base 2 logarithm of all components of a VecX.
|
||||||
const uint OPLog2Vec2=__LINE__-1; //V2 //V2
|
const uint OPSqrtVecX=__LINE__-1; //VX //VX // Returns the square root of all components of a VecX.
|
||||||
const uint OPSinVec2=__LINE__-1; //V2 //V2
|
const uint OPInverseSqrtVecX=__LINE__-1; //VX //VX // Returns one over the square root of all components of a VecX.
|
||||||
const uint OPCosVec2=__LINE__-1; //V2 //V2
|
const uint OPSquareVecX=__LINE__-1; //VX //VX // Returns the square of all components of a VecX.
|
||||||
const uint OPTanVec2=__LINE__-1; //V2 //V2
|
const uint OPCubeVecX=__LINE__-1; //VX //VX // Returns the cube of all components of a VecX.
|
||||||
const uint OPAsinVec2=__LINE__-1; //V2 //V2
|
const uint OPSmoothMinVecXVecXVecX=__LINE__-1; //VX VX VX //VX // Returns the smooth minimum between a VecX and a VecX, varied by a VecX.
|
||||||
const uint OPAcosVec2=__LINE__-1; //V2 //V2
|
const uint OPSmoothMinVecXVecXVec1=__LINE__-1; //VX VX V1 //VX // Returns the smooth minimum between a VecX and a VecX, varied by a Vec1.
|
||||||
const uint OPAtanVec2=__LINE__-1; //V2 //V2
|
const uint OPSmoothMinVecXVec1VecX=__LINE__-1; //VX V1 VX //VX // Returns the smooth minimum between a VecX and a Vec1, varied by a VecX.
|
||||||
const uint OPMinVec2=__LINE__-1; //V2 V2 //V2
|
const uint OPSmoothMinVecXVec1Vec1=__LINE__-1; //VX V1 V1 //VX // Returns the smooth minimum between a VecX and a Vec1, varied by a Vec1.
|
||||||
const uint OPMaxVec2=__LINE__-1; //V2 V2 //V2
|
const uint OPSmoothMinVec1VecXVecX=__LINE__-1; //V1 VX VX //VX // Returns the smooth minimum between a Vec1 and a VecX, varied by a VecX.
|
||||||
const uint OPCopyVec2=__LINE__-1; //V2 //V2
|
const uint OPSmoothMinVec1VecXVec1=__LINE__-1; //V1 VX V1 //VX // Returns the smooth minimum between a Vec1 and a VecX, varied by a Vec1.
|
||||||
const uint OPAbsVec3=__LINE__-1; //V3 //V3
|
const uint OPSmoothMinVec1Vec1VecX=__LINE__-1; //V1 V1 VX //VX // Returns the smooth minimum between a Vec1 and a Vec1, varied by a VecX.
|
||||||
const uint OPSignVec3=__LINE__-1; //V3 //V3
|
const uint OPSmoothMaxVecXVecXVecX=__LINE__-1; //VX VX VX //VX // Returns the smooth maximum between a VecX and a VecX, varied by a VecX.
|
||||||
const uint OPFloorVec3=__LINE__-1; //V3 //V3
|
const uint OPSmoothMaxVecXVecXVec1=__LINE__-1; //VX VX V1 //VX // Returns the smooth maximum between a VecX and a VecX, varied by a Vec1.
|
||||||
const uint OPCeilVec3=__LINE__-1; //V3 //V3
|
const uint OPSmoothMaxVecXVec1VecX=__LINE__-1; //VX V1 VX //VX // Returns the smooth maximum between a VecX and a Vec1, varied by a VecX.
|
||||||
const uint OPFractVec3=__LINE__-1; //V3 //V3
|
const uint OPSmoothMaxVecXVec1Vec1=__LINE__-1; //VX V1 V1 //VX // Returns the smooth maximum between a VecX and a Vec1, varied by a Vec1.
|
||||||
const uint OPSqrtVec3=__LINE__-1; //V3 //V3
|
const uint OPSmoothMaxVec1VecXVecX=__LINE__-1; //V1 VX VX //VX // Returns the smooth maximum between a Vec1 and a VecX, varied by a VecX.
|
||||||
const uint OPInverseSqrtVec3=__LINE__-1; //V3 //V3
|
const uint OPSmoothMaxVec1VecXVec1=__LINE__-1; //V1 VX V1 //VX // Returns the smooth maximum between a Vec1 and a VecX, varied by a Vec1.
|
||||||
const uint OPExpVec3=__LINE__-1; //V3 //V3
|
const uint OPSmoothMaxVec1Vec1VecX=__LINE__-1; //V1 V1 VX //VX // Returns the smooth maximum between a Vec1 and a Vec1, varied by a VecX.
|
||||||
const uint OPExp2Vec3=__LINE__-1; //V3 //V3
|
const uint OPSmoothMinMaterialVec1=__LINE__-1; //V1 V1 V1 //V1 // Returns the smooth minimum between a Vec1 and a Vec1, varied by a Vec1, and also carries over the relevant material metadata.
|
||||||
const uint OPLogVec3=__LINE__-1; //V3 //V3
|
const uint OPSmoothMaxMaterialVec1=__LINE__-1; //V1 V1 V1 //V1 // Returns the smooth maximum between a Vec1 and a Vec1, varied by a Vec1, and also carries over the relevant material metadata.
|
||||||
const uint OPLog2Vec3=__LINE__-1; //V3 //V3
|
const uint OPClampVecXVecXVecX=__LINE__-1; //VX VX VX //VX // Clamps a VecX between a VecX and a VecX.
|
||||||
const uint OPSinVec3=__LINE__-1; //V3 //V3
|
const uint OPClampVecXVecXVec1=__LINE__-1; //VX VX V1 //VX // Clamps a VecX between a VecX and a Vec1.
|
||||||
const uint OPCosVec3=__LINE__-1; //V3 //V3
|
const uint OPClampVecXVec1VecX=__LINE__-1; //VX V1 VX //VX // Clamps a VecX between a Vec1 and a VecX.
|
||||||
const uint OPTanVec3=__LINE__-1; //V3 //V3
|
const uint OPClampVecXVec1Vec1=__LINE__-1; //VX V1 V1 //VX // Clamps a VecX between a Vec1 and a Vec1.
|
||||||
const uint OPAsinVec3=__LINE__-1; //V3 //V3
|
const uint OPClampVec1VecXVecX=__LINE__-1; //V1 VX VX //VX // Clamps a Vec1 between a VecX and a VecX.
|
||||||
const uint OPAcosVec3=__LINE__-1; //V3 //V3
|
const uint OPClampVec1VecXVec1=__LINE__-1; //V1 VX V1 //VX // Clamps a Vec1 between a VecX and a Vec1.
|
||||||
const uint OPAtanVec3=__LINE__-1; //V3 //V3
|
const uint OPClampVec1Vec1VecX=__LINE__-1; //V1 V1 VX //VX // Clamps a Vec1 between a Vec1 and a VecX.
|
||||||
const uint OPMinVec3=__LINE__-1; //V3 V3 //V3
|
const uint OPMixVecXVecXVecX=__LINE__-1; //VX VX VX //VX // Mixes between a VecX and a VecX, varied by a VecX.
|
||||||
const uint OPMaxVec3=__LINE__-1; //V3 V3 //V3
|
const uint OPMixVecXVecXVec1=__LINE__-1; //VX VX V1 //VX // Mixes between a VecX and a VecX, varied by a Vec1.
|
||||||
const uint OPCopyVec3=__LINE__-1; //V3 //V3
|
const uint OPMixVecXVec1VecX=__LINE__-1; //VX V1 VX //VX // Mixes between a VecX and a Vec1, varied by a VecX.
|
||||||
const uint OPAbsVec4=__LINE__-1; //V4 //V4
|
const uint OPMixVecXVec1Vec1=__LINE__-1; //VX V1 V1 //VX // Mixes between a VecX and a Vec1, varied by a Vec1.
|
||||||
const uint OPSignVec4=__LINE__-1; //V4 //V4
|
const uint OPMixVec1VecXVecX=__LINE__-1; //V1 VX VX //VX // Mixes between a Vec1 and a VecX, varied by a VecX.
|
||||||
const uint OPFloorVec4=__LINE__-1; //V4 //V4
|
const uint OPMixVec1VecXVec1=__LINE__-1; //V1 VX V1 //VX // Mixes between a Vec1 and a VecX, varied by a Vec1.
|
||||||
const uint OPCeilVec4=__LINE__-1; //V4 //V4
|
const uint OPMixVec1Vec1VecX=__LINE__-1; //V1 V1 VX //VX // Mixes between a Vec1 and a Vec1, varied by a VecX.
|
||||||
const uint OPFractVec4=__LINE__-1; //V4 //V4
|
const uint OPStepVecXVecXVecX=__LINE__-1; //VX VX VX //VX // Steps between a VecX and a VecX, varied by a VecX.
|
||||||
const uint OPSqrtVec4=__LINE__-1; //V4 //V4
|
const uint OPStepVecXVecXVec1=__LINE__-1; //VX VX V1 //VX // Steps between a VecX and a VecX, varied by a Vec1.
|
||||||
const uint OPInverseSqrtVec4=__LINE__-1; //V4 //V4
|
const uint OPStepVecXVec1VecX=__LINE__-1; //VX V1 VX //VX // Steps between a VecX and a Vec1, varied by a VecX.
|
||||||
const uint OPExpVec4=__LINE__-1; //V4 //V4
|
const uint OPStepVecXVec1Vec1=__LINE__-1; //VX V1 V1 //VX // Steps between a VecX and a Vec1, varied by a Vec1.
|
||||||
const uint OPExp2Vec4=__LINE__-1; //V4 //V4
|
const uint OPStepVec1VecXVecX=__LINE__-1; //V1 VX VX //VX // Steps between a Vec1 and a VecX, varied by a VecX.
|
||||||
const uint OPLogVec4=__LINE__-1; //V4 //V4
|
const uint OPStepVec1VecXVec1=__LINE__-1; //V1 VX V1 //VX // Steps between a Vec1 and a VecX, varied by a Vec1.
|
||||||
const uint OPLog2Vec4=__LINE__-1; //V4 //V4
|
const uint OPStepVec1Vec1VecX=__LINE__-1; //V1 V1 VX //VX // Steps between a Vec1 and a Vec1, varied by a VecX.
|
||||||
const uint OPSinVec4=__LINE__-1; //V4 //V4
|
const uint OPSmoothStepVecXVecXVecX=__LINE__-1; //VX VX VX //VX // Smooth Steps between a VecX and a VecX, varied by a VecX.
|
||||||
const uint OPCosVec4=__LINE__-1; //V4 //V4
|
const uint OPSmoothStepVecXVecXVec1=__LINE__-1; //VX VX V1 //VX // Smooth Steps between a VecX and a VecX, varied by a Vec1.
|
||||||
const uint OPTanVec4=__LINE__-1; //V4 //V4
|
const uint OPSmoothStepVecXVec1VecX=__LINE__-1; //VX V1 VX //VX // Smooth Steps between a VecX and a Vec1, varied by a VecX.
|
||||||
const uint OPAsinVec4=__LINE__-1; //V4 //V4
|
const uint OPSmoothStepVecXVec1Vec1=__LINE__-1; //VX V1 V1 //VX // Smooth Steps between a VecX and a Vec1, varied by a Vec1.
|
||||||
const uint OPAcosVec4=__LINE__-1; //V4 //V4
|
const uint OPSmoothStepVec1VecXVecX=__LINE__-1; //V1 VX VX //VX // Smooth Steps between a Vec1 and a VecX, varied by a VecX.
|
||||||
const uint OPAtanVec4=__LINE__-1; //V4 //V4
|
const uint OPSmoothStepVec1VecXVec1=__LINE__-1; //V1 VX V1 //VX // Smooth Steps between a Vec1 and a VecX, varied by a Vec1.
|
||||||
const uint OPMinVec4=__LINE__-1; //V4 V4 //V4
|
const uint OPSmoothStepVec1Vec1VecX=__LINE__-1; //V1 V1 VX //VX // Smooth Steps between a Vec1 and a Vec1, varied by a VecX.
|
||||||
const uint OPMaxVec4=__LINE__-1; //V4 V4 //V4
|
const uint OPFMAVecXVecXVecX=__LINE__-1; //VX VX VX //VX // Calculates a VecX multiplied by a VecX, then adds a VecX.
|
||||||
const uint OPCopyVec4=__LINE__-1; //V4 //V4
|
const uint OPFMAVecXVecXVec1=__LINE__-1; //VX VX V1 //VX // Calculates a VecX multiplied by a VecX, then adds a Vec1.
|
||||||
const uint OPPromoteFloatFloatVec2=__LINE__-1; //F F //V2
|
const uint OPFMAVecXVec1VecX=__LINE__-1; //VX V1 VX //VX // Calculates a VecX multiplied by a Vec1, then adds a VecX.
|
||||||
const uint OPPromoteFloatFloatFloatVec3=__LINE__-1; //F F F //V3
|
const uint OPFMAVecXVec1Vec1=__LINE__-1; //VX V1 V1 //VX // Calculates a VecX multiplied by a Vec1, then adds a Vec1.
|
||||||
const uint OPPromoteFloatFloatFloatFloatVec4=__LINE__-1; //F F F F //V4
|
const uint OPFMAVec1VecXVecX=__LINE__-1; //V1 VX VX //VX // Calculates a Vec1 multiplied by a VecX, then adds a VecX.
|
||||||
const uint OPPromoteVec2FloatVec3=__LINE__-1; //V2 F //V3
|
const uint OPFMAVec1VecXVec1=__LINE__-1; //V1 VX V1 //VX // Calculates a Vec1 multiplied by a VecX, then adds a Vec1.
|
||||||
const uint OPPromoteFloatVec2Vec3=__LINE__-1; //F V2 //V3
|
const uint OPFMAVec1Vec1VecX=__LINE__-1; //V1 V1 VX //VX // Calculates a Vec1 multiplied by a Vec1, then adds a VecX.
|
||||||
const uint OPPromoteVec2FloatFloatVec4=__LINE__-1; //V2 F F //V4
|
const uint OPSDFSphere=__LINE__-1; //V3 V1 //V1 // Returns the distance to a sphere.
|
||||||
const uint OPPromoteFloatVec2FloatVec4=__LINE__-1; //F V2 F //V4
|
const uint OPSDFBox=__LINE__-1; //V3 V3 //V1 // Returns the distance to a box.
|
||||||
const uint OPPromoteFloatFloatVec2Vec4=__LINE__-1; //F F V2 //V4
|
const uint OPSDFTorus=__LINE__-1; //V3 V2 //V1 // Returns the distance to a torus.
|
||||||
const uint OPPromoteVec2Vec2Vec4=__LINE__-1; //V2 V2 //V4
|
const uint OPInvalid=__LINE__-1; // // // Invalid instruction.
|
||||||
const uint OPPromoteVec3FloatVec4=__LINE__-1; //V3 F //V4
|
|
||||||
const uint OPPromoteFloatVec3Vec4=__LINE__-1; //F V3 //V4
|
|
||||||
const uint OPAcoshFloat=__LINE__-1; //F //F
|
|
||||||
const uint OPAcoshVec2=__LINE__-1; //V2 //V2
|
|
||||||
const uint OPAcoshVec3=__LINE__-1; //V3 //V3
|
|
||||||
const uint OPAcoshVec4=__LINE__-1; //V4 //V4
|
|
||||||
const uint OPAsinhFloat=__LINE__-1; //F //F
|
|
||||||
const uint OPAsinhVec2=__LINE__-1; //V2 //V2
|
|
||||||
const uint OPAsinhVec3=__LINE__-1; //V3 //V3
|
|
||||||
const uint OPAsinhVec4=__LINE__-1; //V4 //V4
|
|
||||||
const uint OPAtanhFloat=__LINE__-1; //F //F
|
|
||||||
const uint OPAtanhVec2=__LINE__-1; //V2 //V2
|
|
||||||
const uint OPAtanhVec3=__LINE__-1; //V3 //V3
|
|
||||||
const uint OPAtanhVec4=__LINE__-1; //V4 //V4
|
|
||||||
const uint OPCoshFloat=__LINE__-1; //F //F
|
|
||||||
const uint OPCoshVec2=__LINE__-1; //V2 //V2
|
|
||||||
const uint OPCoshVec3=__LINE__-1; //V3 //V3
|
|
||||||
const uint OPCoshVec4=__LINE__-1; //V4 //V4
|
|
||||||
const uint OPSinhFloat=__LINE__-1; //F //F
|
|
||||||
const uint OPSinhVec2=__LINE__-1; //V2 //V2
|
|
||||||
const uint OPSinhVec3=__LINE__-1; //V3 //V3
|
|
||||||
const uint OPSinhVec4=__LINE__-1; //V4 //V4
|
|
||||||
const uint OPTanhFloat=__LINE__-1; //F //F
|
|
||||||
const uint OPTanhVec2=__LINE__-1; //V2 //V2
|
|
||||||
const uint OPTanhVec3=__LINE__-1; //V3 //V3
|
|
||||||
const uint OPTanhVec4=__LINE__-1; //V4 //V4
|
|
||||||
const uint OPRoundFloat=__LINE__-1; //F //F
|
|
||||||
const uint OPRoundVec2=__LINE__-1; //V2 //V2
|
|
||||||
const uint OPRoundVec3=__LINE__-1; //V3 //V3
|
|
||||||
const uint OPRoundVec4=__LINE__-1; //V4 //V4
|
|
||||||
const uint OPTruncFloat=__LINE__-1; //F //F
|
|
||||||
const uint OPTruncVec2=__LINE__-1; //V2 //V2
|
|
||||||
const uint OPTruncVec3=__LINE__-1; //V3 //V3
|
|
||||||
const uint OPTruncVec4=__LINE__-1; //V4 //V4
|
|
||||||
const uint OPFMAFloat=__LINE__-1; //F F F //F
|
|
||||||
const uint OPFMAVec2=__LINE__-1; //V2 V2 V2 //V2
|
|
||||||
const uint OPFMAVec3=__LINE__-1; //V3 V3 V3 //V3
|
|
||||||
const uint OPFMAVec4=__LINE__-1; //V4 V4 V4 //V4
|
|
||||||
const uint OPClampFloatFloat=__LINE__-1; //F F F //F
|
|
||||||
const uint OPClampVec2Vec2=__LINE__-1; //V2 V2 V2 //V2
|
|
||||||
const uint OPClampVec2Float=__LINE__-1; //V2 F F //V2
|
|
||||||
const uint OPClampVec3Vec3=__LINE__-1; //V3 V3 V3 //V3
|
|
||||||
const uint OPClampVec3Float=__LINE__-1; //V3 F F //V3
|
|
||||||
const uint OPClampVec4Vec4=__LINE__-1; //V4 V4 V4 //V4
|
|
||||||
const uint OPClampVec4Float=__LINE__-1; //V4 F F //V4
|
|
||||||
const uint OPMixFloatFloat=__LINE__-1; //F F F //F
|
|
||||||
const uint OPMixVec2Vec2=__LINE__-1; //V2 V2 V2 //V2
|
|
||||||
const uint OPMixVec2Float=__LINE__-1; //V2 V2 F //V2
|
|
||||||
const uint OPMixVec3Vec3=__LINE__-1; //V3 V3 V3 //V3
|
|
||||||
const uint OPMixVec3Float=__LINE__-1; //V3 V3 F //V3
|
|
||||||
const uint OPMixVec4Vec4=__LINE__-1; //V4 V4 V4 //V4
|
|
||||||
const uint OPMixVec4Float=__LINE__-1; //V4 V4 F //V4
|
|
||||||
const uint OPSquareFloat=__LINE__-1; //F //F
|
|
||||||
const uint OPCubeFloat=__LINE__-1; //F //F
|
|
||||||
const uint OPSquareVec2=__LINE__-1; //V2 //V2
|
|
||||||
const uint OPCubeVec2=__LINE__-1; //V2 //V2
|
|
||||||
const uint OPSquareVec3=__LINE__-1; //V3 //V3
|
|
||||||
const uint OPCubeVec3=__LINE__-1; //V3 //V3
|
|
||||||
const uint OPSquareVec4=__LINE__-1; //V4 //V4
|
|
||||||
const uint OPCubeVec4=__LINE__-1; //V4 //V4
|
|
||||||
const uint OPSDFSphere=__LINE__-1; //F V3 //F
|
|
||||||
const uint OPSDFBox=__LINE__-1; //V3 V3 //F
|
|
||||||
const uint OPSDFTorus=__LINE__-1; //V2 V3 //F
|
|
||||||
const uint OPInvalid=__LINE__-1; // //
|
|
||||||
Reference in New Issue
Block a user