https://bugs.freedesktop.org/show_bug.cgi?id=103265

--- Comment #1 from Roland Scheidegger <[email protected]> ---
(In reply to Vinson Lee from comment #0)
> commit be3ab867bd444594f9d9e0f8e59d305d15769afd
> Author: Marek Olšák <[email protected]>
> Date:   Mon Oct 2 22:30:55 2017 +0200
> 
>     tgsi: implement tgsi_util_get_inst_usage_mask properly
>     
>     All opcodes are handled.
>     
>     Reviewed-by: Nicolai Hähnle <[email protected]>


Looks buggy indeed - for texture opcodes it tries to subtract the shadow coord
from dimension for dim_layer however the value from
tgsi_util_get_texture_coord_dim() never includes that in the first place. And
therefore dim_layer_shadow (which is used to determine the mask in this case)
would be wrong too (just XY instead of XYZ for 2d shadow texture).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to