summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorTom Stellard <tstellar@gmail.com>2010-12-13 09:11:25 -0800
committerTom Stellard <tstellar@gmail.com>2011-01-23 17:47:48 -0800
commitc40ec20c273104198f7b3c52af2cd2328833b72b (patch)
tree153ec8dc8cb6a90e9ddda30d49efe7d740da3973 /src/gallium/drivers/r300/r300_screen.c
parent1bf3c75825da5da84e74b1603f6a58ee17b496c4 (diff)
downloadexternal_mesa3d-c40ec20c273104198f7b3c52af2cd2328833b72b.zip
external_mesa3d-c40ec20c273104198f7b3c52af2cd2328833b72b.tar.gz
external_mesa3d-c40ec20c273104198f7b3c52af2cd2328833b72b.tar.bz2
r300g: Increase fragment shader limits for r400 cards
r400 fragment shaders now support up to 64 temporary registers, 512 ALU instructions, and 512 TEX instructions.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index c75aeaa..178ad63 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -87,12 +87,8 @@ static const char* r300_get_name(struct pipe_screen* pscreen)
static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
{
struct r300_screen* r300screen = r300_screen(pscreen);
- boolean is_r400 = r300screen->caps.is_r400;
boolean is_r500 = r300screen->caps.is_r500;
- /* XXX extended shader capabilities of r400 unimplemented */
- is_r400 = FALSE;
-
switch (param) {
/* Supported features (boolean caps). */
case PIPE_CAP_NPOT_TEXTURES:
@@ -175,9 +171,6 @@ static int r300_get_shader_param(struct pipe_screen *pscreen, unsigned shader, e
boolean is_r400 = r300screen->caps.is_r400;
boolean is_r500 = r300screen->caps.is_r500;
- /* XXX extended shader capabilities of r400 unimplemented */
- is_r400 = FALSE;
-
switch (shader)
{
case PIPE_SHADER_FRAGMENT: