Threadwell

Recent Notes

  • JohannesVuorine

    Aug 26, 2026

    • archive
    • twitter
    • johannesvuorine
  • Threads

    Aug 26, 2026

    • archive
  • iquilezles

    Aug 26, 2026

    • archive
    • twitter
    • iquilezles
Home

❯

Archive

❯

Threads

❯

iquilezles

❯

Hey, don't "optimize" conditional moves with mix()+step().

❯

@iquilezles @james_ay_em_dee Read about this from ‘GPU Gems 2’, ‘Chapter 34.

@iquilezles @james_ay_em_dee Read about this from ‘GPU Gems 2’, ‘Chapter 34.

Properties5
typearchive
sourcetwitter
date2025-06-01
tagsarchive, twitter, iquilezles
description@iquilezles @james_ay_em_dee Read about this from ‘GPU Gems 2’, ‘Chapter 34.

Jun 01, 20251 min read

  • archive
  • twitter
  • iquilezles

Source

  • URL: https://x.com/codaaaaaaaaa/status/1929133683878907983
  • Author: 🌱 (@codaaaaaaaaa)
  • Posted: 2025-06-01 11:11:26

Branch

1/ @codaaaaaaaaa

@iquilezles @james_ay_em_dee

Read about this from ‘GPU Gems 2’, ‘Chapter 34. GPU Flow-Control Idioms’.
They say the GeForce 6 series from 21 years ago (!) supports branching instructions, and even older GPUs still support masked operations

Related

  • Spine: 2025-02-09-hey-dont-optimize-conditional-moves-with-mix-step

Graph View

  • Source
  • Branch
  • Related

Backlinks

  • Hey, don't "optimize" conditional moves with mix()+step().

Created with Quartz v5.0.0 © 2026

  • GitHub