mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
v3d: Use the right size for v3d 4.x TEXTURE_SHADER_STATE BO.
This doesn't really matter, since they both get rounded up to 4096.
This commit is contained in:
parent
31548187cf
commit
9080642449
1 changed files with 2 additions and 2 deletions
|
|
@ -697,8 +697,8 @@ v3d_create_sampler_view(struct pipe_context *pctx, struct pipe_resource *prsc,
|
|||
int msaa_scale = prsc->nr_samples > 1 ? 2 : 1;
|
||||
|
||||
#if V3D_VERSION >= 40
|
||||
so->bo = v3d_bo_alloc(v3d->screen, cl_packet_length(SAMPLER_STATE),
|
||||
"sampler");
|
||||
so->bo = v3d_bo_alloc(v3d->screen,
|
||||
cl_packet_length(TEXTURE_SHADER_STATE), "sampler");
|
||||
void *map = v3d_bo_map(so->bo);
|
||||
|
||||
v3dx_pack(map, TEXTURE_SHADER_STATE, tex) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue