mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
llvmpipe: Fix real uninitialized use of "atype" for SEMANTIC_FACE
Fixes: 502548a09c ("gallivm/llvmpipe: add support for front facing in sysval.")
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3867>
This commit is contained in:
parent
13a276ed3b
commit
45b2ccc6b3
1 changed files with 1 additions and 0 deletions
|
|
@ -1548,6 +1548,7 @@ emit_fetch_system_value(
|
|||
|
||||
case TGSI_SEMANTIC_FACE:
|
||||
res = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.front_facing);
|
||||
atype = TGSI_TYPE_UNSIGNED;
|
||||
break;
|
||||
|
||||
case TGSI_SEMANTIC_DRAWID:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue