mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
init machine->Samplers (fixes vertex program texture fetches)
This commit is contained in:
parent
d3f7b463c3
commit
634d2af2b0
1 changed files with 2 additions and 0 deletions
|
|
@ -242,6 +242,8 @@ init_machine(GLcontext *ctx, struct gl_program_machine *machine)
|
|||
|
||||
machine->FetchTexelLod = vp_fetch_texel;
|
||||
machine->FetchTexelDeriv = NULL; /* not used by vertex programs */
|
||||
|
||||
machine->Samplers = ctx->VertexProgram._Current->Base.SamplerUnits;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue