Skip to content

Misc CL fixes

Jesse Natalie requested to merge jenatali/mesa:msclc/misc-cl-fixes into msclc-d3d12
  • Use -O0 for compiling through Clang. Otherwise we can get weird things like i3 types that don't translate to SPIR-V. Requires re-ordering some optimizations before the image pass so that it can get full deref chains.
  • Parse function parameter decorations, and group decorations, to properly retrieve const/restrict annotations. With this, we now pass the API test fully (thanks @karolherbst for pointing it out).
  • Fix using the wrong variable in the int->float rounding pass, which caused it to fail for vectors.
Edited by Jesse Natalie

Merge request reports

Loading