Skip to content

progs/fp: avoid undefined result in scs-test

Erik Faye-Lund requested to merge kusma/mesa-demos:fix-scs-test into main

According to the ARB_fragment_program spec, section 3.11.5.22 "SCS: Sine/Cosine":

The z and w components of the result vector are undefined.

So let's just write the x and y components, and do a separate MOV for the z and w components.

Closes: #23 (closed)

Merge request reports