summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_shader.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-07-14 22:28:26 +0200
committerMarek Olšák <[email protected]>2012-07-15 02:16:46 +0200
commit15ca9d159e50815b0bfe60df8873f48c32a59ca5 (patch)
treedf28d8eb191132f5ddca0c7c9f31c688bbb91826 /src/gallium/drivers/r600/r600_shader.c
parente634651024d6507cf325999494a3e2630f3072c8 (diff)
r600g: don't check the R600_GLSL130 env var
GLSL 1.3 has been enabled by default for quite a while.
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.c')
-rw-r--r--src/gallium/drivers/r600/r600_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index 4dd424367a9..cf912c1267d 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -1163,7 +1163,7 @@ static int r600_shader_from_tgsi(struct r600_context * rctx, struct r600_pipe_sh
#endif
ctx.bc = &shader->bc;
ctx.shader = shader;
- ctx.native_integers = (rctx->screen->glsl_feature_level >= 130);
+ ctx.native_integers = true;
r600_bytecode_init(ctx.bc, rctx->chip_class, rctx->family);
ctx.tokens = tokens;