projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'public/master' into vulkan
[mesa.git]
/
src
/
gallium
/
drivers
/
nouveau
/
nv50
/
nv98_video_vp.c
diff --git
a/src/gallium/drivers/nouveau/nv50/nv98_video_vp.c
b/src/gallium/drivers/nouveau/nv50/nv98_video_vp.c
index d13480c21d530eb760a3b720c5e7d6db3a9a43db..37d7d443289e6fbb1b5c97d5249d301f5011f541 100644
(file)
--- a/
src/gallium/drivers/nouveau/nv50/nv98_video_vp.c
+++ b/
src/gallium/drivers/nouveau/nv50/nv98_video_vp.c
@@
-86,7
+86,7
@@
nv98_decoder_vp(struct nouveau_vp3_decoder *dec, union pipe_desc desc,
#endif
{ dec->fw_bo, NOUVEAU_BO_RD | NOUVEAU_BO_VRAM },
};
- int num_refs =
sizeof(bo_refs)/sizeof(*
bo_refs) - !dec->fw_bo;
+ int num_refs =
ARRAY_SIZE(
bo_refs) - !dec->fw_bo;
#if NOUVEAU_VP3_DEBUG_FENCE
fence_extra = 4;