Skip to content

Draft: gpu: 2d geometry dsl

Matthias Clasen requested to merge gpu-drop-vec2 into main

This is an attempt to introduce a small set of types and inline functions for writing 2d geometry expressions involving rectangles and affine transforms (scales and translations). The main expected user is going to be gskgpunodeprocessor.c

Goals are:

  • be concise
  • write expressions coordinate-free
  • allow simd implementation
Edited by Matthias Clasen

Merge request reports