radeon drivers: handle PIPE_CAP_MAX_VIEWPORTS
This commit is contained in:
@@ -192,6 +192,9 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
|
|||||||
return 4;
|
return 4;
|
||||||
case PIPE_CAP_ENDIANNESS:
|
case PIPE_CAP_ENDIANNESS:
|
||||||
return PIPE_ENDIAN_LITTLE;
|
return PIPE_ENDIAN_LITTLE;
|
||||||
|
|
||||||
|
case PIPE_CAP_MAX_VIEWPORTS:
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@@ -651,6 +651,9 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
|
|||||||
/* XXX some r6xx are buggy and can only do 4 */
|
/* XXX some r6xx are buggy and can only do 4 */
|
||||||
return 8;
|
return 8;
|
||||||
|
|
||||||
|
case PIPE_CAP_MAX_VIEWPORTS:
|
||||||
|
return 1;
|
||||||
|
|
||||||
/* Timer queries, present when the clock frequency is non zero. */
|
/* Timer queries, present when the clock frequency is non zero. */
|
||||||
case PIPE_CAP_QUERY_TIME_ELAPSED:
|
case PIPE_CAP_QUERY_TIME_ELAPSED:
|
||||||
return rscreen->b.info.r600_clock_crystal_freq != 0;
|
return rscreen->b.info.r600_clock_crystal_freq != 0;
|
||||||
|
@@ -438,6 +438,9 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
|
|||||||
/* FIXME some r6xx are buggy and can only do 4 */
|
/* FIXME some r6xx are buggy and can only do 4 */
|
||||||
return 8;
|
return 8;
|
||||||
|
|
||||||
|
case PIPE_CAP_MAX_VIEWPORTS:
|
||||||
|
return 1;
|
||||||
|
|
||||||
/* Timer queries, present when the clock frequency is non zero. */
|
/* Timer queries, present when the clock frequency is non zero. */
|
||||||
case PIPE_CAP_QUERY_TIMESTAMP:
|
case PIPE_CAP_QUERY_TIMESTAMP:
|
||||||
case PIPE_CAP_QUERY_TIME_ELAPSED:
|
case PIPE_CAP_QUERY_TIME_ELAPSED:
|
||||||
|
Reference in New Issue
Block a user