diff options
author | Michel Dänzer <[email protected]> | 2012-09-05 18:27:02 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2012-09-06 15:39:20 +0200 |
commit | d0f51fe567ba93df9388fd307d86ff95060902f6 (patch) | |
tree | 842ba240a95d7b5e9414d3bdfb343abece7348fb /src/gallium/drivers/radeonsi/radeonsi_pipe.c | |
parent | cf697e875c58c963f50dc620d11762293e976653 (diff) |
radeonsi: Enable NPOT textures again.
Should be at least mostly working now (with the corresponding fixes in
libdrm_radeon).
Signed-off-by: Michel Dänzer <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c b/src/gallium/drivers/radeonsi/radeonsi_pipe.c index f3914d736f6..9d7ac51ef2f 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pipe.c +++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.c @@ -323,6 +323,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_USER_INDEX_BUFFERS: case PIPE_CAP_USER_CONSTANT_BUFFERS: case PIPE_CAP_START_INSTANCE: + case PIPE_CAP_NPOT_TEXTURES: return 1; case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: @@ -332,7 +333,6 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) return debug_get_bool_option("R600_GLSL130", FALSE) ? 130 : 120; /* Unsupported features. */ - case PIPE_CAP_NPOT_TEXTURES: case PIPE_CAP_TGSI_INSTANCEID: case PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT: case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER: |