projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3154818
)
v3d: Use the right size for v3d 4.x TEXTURE_SHADER_STATE BO.
author
Eric Anholt
<eric@anholt.net>
Fri, 8 Jun 2018 15:35:50 +0000
(08:35 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 14 Jun 2018 23:52:25 +0000
(16:52 -0700)
This doesn't really matter, since they both get rounded up to 4096.
src/gallium/drivers/v3d/v3dx_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/v3d/v3dx_state.c
b/src/gallium/drivers/v3d/v3dx_state.c
index 26bd06e4df7912f2efde516200e72740e997884b..22a0ba92a00bcfaf0188bebfa5f81f6e9e5c8fa5 100644
(file)
--- a/
src/gallium/drivers/v3d/v3dx_state.c
+++ b/
src/gallium/drivers/v3d/v3dx_state.c
@@
-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) {