diff options
author | Marek Olšák <[email protected]> | 2015-01-31 18:56:54 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-02-04 14:34:13 +0100 |
commit | 8fc542aa8904339c52a4aec0ebaf42f498ba6ae8 (patch) | |
tree | 18f31c84ded403134fcaff9908bbb58ba96a7a60 /src/gallium/auxiliary/util/u_pstipple.h | |
parent | 50433ea526942dbeac75cc415becadea157e5d33 (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/auxiliary/util/u_pstipple.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_pstipple.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_pstipple.h b/src/gallium/auxiliary/util/u_pstipple.h index 13155e7f5dc..249c58be95f 100644 --- a/src/gallium/auxiliary/util/u_pstipple.h +++ b/src/gallium/auxiliary/util/u_pstipple.h @@ -49,7 +49,8 @@ util_pstipple_create_sampler(struct pipe_context *pipe); struct tgsi_token * util_pstipple_create_fragment_shader(const struct tgsi_token *tokens, - unsigned *samplerUnitOut); + unsigned *samplerUnitOut, + unsigned fixed_unit); #endif |