mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
draw: avoid aliasing warning
This commit is contained in:
parent
47aa416821
commit
6980823da9
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ pstip_transform_inst(struct tgsi_transform_context *ctx,
|
|||
uint size = 4;
|
||||
immed = tgsi_default_full_immediate();
|
||||
immed.Immediate.Size = 1 + size; /* one for the token itself */
|
||||
immed.u.ImmediateFloat32 = (struct tgsi_immediate_float32 *) value;
|
||||
immed.u.Pointer = value;
|
||||
ctx->emit_immediate(ctx, &immed);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue