diff options
author | Marek Olšák <marek.olsak@amd.com> | 2015-01-31 18:56:54 +0100 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2015-02-04 14:34:13 +0100 |
commit | 8fc542aa8904339c52a4aec0ebaf42f498ba6ae8 (patch) | |
tree | 18f31c84ded403134fcaff9908bbb58ba96a7a60 /src/gallium/drivers/softpipe/sp_state_shader.c | |
parent | 50433ea526942dbeac75cc415becadea157e5d33 (diff) | |
download | external_mesa3d-8fc542aa8904339c52a4aec0ebaf42f498ba6ae8.zip external_mesa3d-8fc542aa8904339c52a4aec0ebaf42f498ba6ae8.tar.gz external_mesa3d-8fc542aa8904339c52a4aec0ebaf42f498ba6ae8.tar.bz2 |
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 <glenn.kennard@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_state_shader.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state_shader.c | 2 |
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 58a2498..8ab2903 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 |