mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
nouveau: fix number of surfaces in video buffer, use defines
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
14ee790df7
commit
8975f83402
1 changed files with 4 additions and 4 deletions
|
|
@ -10,10 +10,10 @@
|
|||
struct nouveau_video_buffer {
|
||||
struct pipe_video_buffer base;
|
||||
unsigned num_planes;
|
||||
struct pipe_resource *resources[3];
|
||||
struct pipe_sampler_view *sampler_view_planes[3];
|
||||
struct pipe_sampler_view *sampler_view_components[3];
|
||||
struct pipe_surface *surfaces[3];
|
||||
struct pipe_resource *resources[VL_NUM_COMPONENTS];
|
||||
struct pipe_sampler_view *sampler_view_planes[VL_NUM_COMPONENTS];
|
||||
struct pipe_sampler_view *sampler_view_components[VL_NUM_COMPONENTS];
|
||||
struct pipe_surface *surfaces[VL_NUM_COMPONENTS * 2];
|
||||
};
|
||||
|
||||
struct nouveau_decoder {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue