projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ac250c
)
r600g: handle all remaining CAPs
author
Marek Olšák
<maraeo@gmail.com>
Tue, 22 Nov 2011 19:48:23 +0000
(20:48 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 22 Nov 2011 19:56:51 +0000
(20:56 +0100)
src/gallium/drivers/r600/r600_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_pipe.c
b/src/gallium/drivers/r600/r600_pipe.c
index 0b751e046bb844e2230878de416bbb6290ffc2d6..ddea167e86ad59f9f53b5eef6889b8f0fbdbb6e3 100644
(file)
--- a/
src/gallium/drivers/r600/r600_pipe.c
+++ b/
src/gallium/drivers/r600/r600_pipe.c
@@
-395,6
+395,7
@@
static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
case PIPE_CAP_TGSI_INSTANCEID:
case PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT:
case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER:
+ case PIPE_CAP_SCALED_RESOLVE:
return 0;
/* Texturing. */
@@
-448,6
+449,11
@@
static float r600_get_paramf(struct pipe_screen* pscreen,
return 16.0f;
case PIPE_CAPF_MAX_TEXTURE_LOD_BIAS:
return 16.0f;
+ case PIPE_CAPF_GUARD_BAND_LEFT:
+ case PIPE_CAPF_GUARD_BAND_TOP:
+ case PIPE_CAPF_GUARD_BAND_RIGHT:
+ case PIPE_CAPF_GUARD_BAND_BOTTOM:
+ return 0.0f;
}
return 0.0f;
}