mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-03 13:00:37 +01:00
llvmpipe: Fix shader variant key construction.
Fixes the blank screen on non-64bit mode.
This commit is contained in:
parent
1e6cc1cf37
commit
8aa62cead7
1 changed files with 2 additions and 2 deletions
|
|
@ -663,14 +663,14 @@ make_variant_key(struct llvmpipe_context *lp,
|
|||
{
|
||||
memset(key, 0, sizeof *key);
|
||||
|
||||
memcpy(&key->depth, &lp->depth_stencil->depth, sizeof &key->depth);
|
||||
memcpy(&key->depth, &lp->depth_stencil->depth, sizeof key->depth);
|
||||
|
||||
key->alpha.enabled = lp->depth_stencil->alpha.enabled;
|
||||
if(key->alpha.enabled)
|
||||
key->alpha.func = lp->depth_stencil->alpha.func;
|
||||
/* alpha.ref_value is passed in jit_context */
|
||||
|
||||
memcpy(&key->blend, lp->blend, sizeof &key->blend);
|
||||
memcpy(&key->blend, lp->blend, sizeof key->blend);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue