NOTEQUAL(3G)

πŸ“¦
version 1.0~svn33624 Β· 4 versions
, in ubuntu jammy, ubuntu noble

✨ NAME ✨

okay so bestie, welcome to the NOTEQUAL(3G) page β€” this is notEqual, and what she does is perform a component-wise not-equal-to comparison of two vectors. that's the whole job. she does it flawlessly. periodt.


🫢 DECLARATION 🫢

here's the exact signature tea, copied character for character so nobody comes for me:

bvec notEqual(vec x, vec y);

bvec notEqual(ivec x, ivec y);

bvec notEqual(uvec x, uvec y);

three flavors, same energy. float, int, uint. she's versatile like that πŸ’…


🌸 PARAMETERS 🌸

  • x β€” specifies the first vector to be used in the comparison operation. the one doing the comparing. the main character, lowkey.
  • y β€” specifies the second vector to be used in the comparison operation. the one getting compared against. also important, we stan a duo 🫢

πŸ’– DESCRIPTION πŸ’–

so here's the lore: notEqual returns a boolean vector, right? and each element i of that vector is computed as:

x[i] != y[i]

that's it. component by component, no skipping, no shortcuts, no cap. if they're not equal you get the boolean truth, if they are equal you don't. iconic behavior fr fr πŸ”₯


πŸ‘‘ VERSION SUPPORT πŸ‘‘

okay so the original had this whole giant grid situation, but bestie, tables are not it, so we're doing this as lists instead. every single checkmark and every single dash is still here, i promise, i would never gatekeep πŸ’œ

these are the OpenGL Shading Language Version numbers: 1.10, 1.20, 1.30, 1.40, 1.50, 3.30, 4.00, 4.10, 4.20, 4.30, 4.40, 4.50.

πŸ¦‹ notEqual (vec) β€” the float girlie

  • 1.10, 1.20, 1.30, 1.40, 1.50, 3.30, 4.00, 4.10, 4.20, 4.30, 4.40, 4.50 β€” βœ” she was there from day one and she never left. consistent queen πŸ‘‘

🌈 notEqual (ivec) β€” the int girlie

  • 1.10, 1.20 β€” - nope, not invited yet πŸ™ˆ
  • 1.30, 1.40, 1.50, 3.30, 4.00, 4.10, 4.20, 4.30, 4.40, 4.50 β€” βœ” arrived in 1.30 and has been slaying ever since ✨

πŸŽ€ notEqual (uvec) β€” the uint girlie

  • 1.10, 1.20 β€” - also not invited yet, she's fashionably late πŸ’€
  • 1.30, 1.40, 1.50, 3.30, 4.00, 4.10, 4.20, 4.30, 4.40, 4.50 β€” βœ” same glow-up timeline as ivec, we love to see it 🌸

πŸ’œ SEE ALSO πŸ’œ

if you liked this one, the whole friend group is here:

  • lessThan()
  • lessThanEqual()
  • greaterThan()
  • greaterThanEqual()
  • equal()
  • any()
  • all()
  • not()

go read them too, they're all giving ✨


Copyright Β© 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.

Copyright Β© 2011-2014 Khronos Group


okay that's the whole page bestie, you ate reading all of it πŸ’– and for the cute sign-off: this came from [FIXME: source], dated 01/03/2018, filed under NOTEQUAL(3G). go forth and compare things component-wise, you absolute icon πŸ¦‹πŸ’…

πŸ“¦ where this page comes from