Andreas Boll
2012-Oct-30 17:03 UTC
[Nouveau] [PATCH][8.0] nvfx: handle some unknown PIPE_CAPs
fixes these warnings: nvfx_screen_get_param:95 - Warning: unknown PIPE_CAP 30 nvfx_screen_get_param:95 - Warning: unknown PIPE_CAP 55 nvfx_screen_get_param:95 - Warning: unknown PIPE_CAP 56 nvfx_screen_get_param:95 - Warning: unknown PIPE_CAP 58 nvfx_screen_get_param:95 - Warning: unknown PIPE_CAP 59 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47442 Bugzilla: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674965 Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com> --- Note: This patch is only for the 8.0 branch. Compile tested only. src/gallium/drivers/nvfx/nvfx_screen.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c index b4a1b3a..26c2d8d 100644 --- a/src/gallium/drivers/nvfx/nvfx_screen.c +++ b/src/gallium/drivers/nvfx/nvfx_screen.c @@ -88,6 +88,12 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_MAX_TEXEL_OFFSET: case PIPE_CAP_CONDITIONAL_RENDER: case PIPE_CAP_TEXTURE_BARRIER: + case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS: + case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_COMPONENTS: + case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS: + case PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME: + case PIPE_CAP_TGSI_CAN_COMPACT_VARYINGS: + case PIPE_CAP_TGSI_CAN_COMPACT_CONSTANTS: return 0; case PIPE_CAP_MIXED_COLORBUFFER_FORMATS: return 0; -- 1.7.4.1
Lucas Stach
2012-Oct-30 17:33 UTC
[Nouveau] [Mesa-dev] [PATCH][8.0] nvfx: handle some unknown PIPE_CAPs
Am Dienstag, den 30.10.2012, 18:03 +0100 schrieb Andreas Boll:> fixes these warnings: > > nvfx_screen_get_param:95 - Warning: unknown PIPE_CAP 30 > nvfx_screen_get_param:95 - Warning: unknown PIPE_CAP 55 > nvfx_screen_get_param:95 - Warning: unknown PIPE_CAP 56 > nvfx_screen_get_param:95 - Warning: unknown PIPE_CAP 58 > nvfx_screen_get_param:95 - Warning: unknown PIPE_CAP 59 > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47442 > Bugzilla: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674965 > Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>While this doesn't really fix anything: Reviewed-by: Lucas Stach <dev at lynxeye.de>> --- > > Note: This patch is only for the 8.0 branch. > Compile tested only. > > src/gallium/drivers/nvfx/nvfx_screen.c | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c > index b4a1b3a..26c2d8d 100644 > --- a/src/gallium/drivers/nvfx/nvfx_screen.c > +++ b/src/gallium/drivers/nvfx/nvfx_screen.c > @@ -88,6 +88,12 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) > case PIPE_CAP_MAX_TEXEL_OFFSET: > case PIPE_CAP_CONDITIONAL_RENDER: > case PIPE_CAP_TEXTURE_BARRIER: > + case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS: > + case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_COMPONENTS: > + case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS: > + case PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME: > + case PIPE_CAP_TGSI_CAN_COMPACT_VARYINGS: > + case PIPE_CAP_TGSI_CAN_COMPACT_CONSTANTS: > return 0; > case PIPE_CAP_MIXED_COLORBUFFER_FORMATS: > return 0;
Reasonably Related Threads
- [PATCH 0/4] nvfx: rework render temps code and fixes
- [PATCH 1/3] nvc0: remove vport_int hack and instead use the usual state validation
- [Bug 57278] New: [xf86-video-nouveau] flightgear crash when loading scenary
- [PATCH] nvfx: fix nv3x fallout from state validation changes
- Regression in nvfx-next since yesterday