diff options
author | Michal Krol <[email protected]> | 2010-01-25 13:29:33 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2010-01-28 14:08:03 +0100 |
commit | 7c5f255201f42303188137f56ea8acc030444f0e (patch) | |
tree | b924454f0f0c7ca3b7ac1f7c34a546b0582a3f91 /src/gallium/drivers/softpipe/sp_quad_fs.c | |
parent | 333c035a519a36efd19d2ab227924feb8b0f4c25 (diff) |
gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_quad_fs.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_quad_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad_fs.c b/src/gallium/drivers/softpipe/sp_quad_fs.c index 9c497073c23..ad04dc2afc3 100644 --- a/src/gallium/drivers/softpipe/sp_quad_fs.c +++ b/src/gallium/drivers/softpipe/sp_quad_fs.c @@ -109,7 +109,7 @@ shade_quads(struct quad_stage *qs, struct tgsi_exec_machine *machine = qss->machine; unsigned i, pass = 0; - for (i = 0; i < PIPE_MAX_CONSTANT; i++) { + for (i = 0; i < PIPE_MAX_CONSTANT_BUFFERS; i++) { machine->Consts[i] = softpipe->mapped_constants[PIPE_SHADER_FRAGMENT][i]; } machine->InterpCoefs = quads[0]->coef; |