aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_state_shader.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-01-31 18:56:54 +0100
committerMarek Olšák <[email protected]>2015-02-04 14:34:13 +0100
commit8fc542aa8904339c52a4aec0ebaf42f498ba6ae8 (patch)
tree18f31c84ded403134fcaff9908bbb58ba96a7a60 /src/gallium/drivers/softpipe/sp_state_shader.c
parent50433ea526942dbeac75cc415becadea157e5d33 (diff)
gallium/u_pstipple: add ability to specify a fixed texture unit
E.g. r600g can use slot 17, which is outside of the API range. Reviewed-by: Glenn Kennard <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_state_shader.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_state_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_shader.c b/src/gallium/drivers/softpipe/sp_state_shader.c
index 58a2498c046..8ab2903dced 100644
--- a/src/gallium/drivers/softpipe/sp_state_shader.c
+++ b/src/gallium/drivers/softpipe/sp_state_shader.c
@@ -64,7 +64,7 @@ create_fs_variant(struct softpipe_context *softpipe,
/* get new shader that implements polygon stippling */
var->tokens =
util_pstipple_create_fragment_shader(curfs->tokens,
- &var->stipple_sampler_unit);
+ &var->stipple_sampler_unit, 0);
}
else
#endif