mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
gallivm: handle helper invocation (v2)
Just invert the exec_mask to get if this is a helper or not. v2: get the bld mask (Roland) Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
fb34369eb5
commit
e8a445d8b5
1 changed files with 5 additions and 0 deletions
|
|
@ -1724,6 +1724,11 @@ emit_fetch_system_value(
|
|||
atype = TGSI_TYPE_UNSIGNED;
|
||||
break;
|
||||
|
||||
case TGSI_SEMANTIC_HELPER_INVOCATION:
|
||||
res = LLVMBuildNot(gallivm->builder, lp_build_mask_value(bld->mask), "");
|
||||
atype = TGSI_TYPE_UNSIGNED;
|
||||
break;
|
||||
|
||||
default:
|
||||
assert(!"unexpected semantic in emit_fetch_system_value");
|
||||
res = bld_base->base.zero;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue