Hi,

There is predication in direct3D9 HLSL,
however we don't implement them and never had any complaint about that.

Reason is that HLSL Microsoft compiler doesn't generate any predication.
I read somewhere they did this choice because for drivers it is possible
to lower efficiently if conditions to predicates if hardware supports it, but not
the opposite.

If never a d3d9 apps needs predication, we'll implement them with if conditions.

I'm totally fine with predication support being removed from TGSI.

A little nitpicking: instead of setting lower_preds to true, just remove it.
The variable isn't used.

Axel Davy

On 01/09/2015 23:19, Marek Olšák wrote :
From: Marek Olšák <marek.ol...@amd.com>

Neved used.
---


_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to