For what it's worth, Midgard has real integers (including int32
support), using hardware-level D3D10 boolean conventions. I'm trying to
wrap my head around how this interacts with 5d85a0a.

I'm tempted to think the standard lower_bool_to_int32 pass would work,
with an emulated b2f instruction in the backend IR level, rather than
burdening NIR with those details.

I'll have to look at the patch set closer to understand the impact. 

---

> +nir_lower_bool_to_int32_impl(nir_function_impl *impl)
> +nir_lower_bool_to_int32(nir_shader *shader)
> +      if (function->impl && nir_lower_bool_to_int32_impl(function->impl))

I'm guessing these were intended to read float32?
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to