diff options
author | Michal Krol <michal@vmware.com> | 2010-01-19 13:20:15 +0100 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2010-01-28 14:07:29 +0100 |
commit | 835bab0143e11ab98551a061043f944fd6eab456 (patch) | |
tree | b9990efa6c4efe19c1cddec85ea57d5ecaab1d97 /src/gallium/drivers/softpipe/sp_fs_sse.c | |
parent | 4367de152cc5bd7240d75a33e75c1b1671b5cc16 (diff) |
gallium: Implement 2D constant buffers for fragment shader in softpipe.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_fs_sse.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_fs_sse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_fs_sse.c b/src/gallium/drivers/softpipe/sp_fs_sse.c index f912950658..acee213670 100644 --- a/src/gallium/drivers/softpipe/sp_fs_sse.c +++ b/src/gallium/drivers/softpipe/sp_fs_sse.c @@ -135,7 +135,7 @@ fs_sse_run( const struct sp_fragment_shader *base, tgsi_set_exec_mask(machine, 1, 1, 1, 1); shader->func( machine, - machine->Consts, + (const float (*)[4])machine->Consts[0], (const float (*)[4])shader->immediates, machine->InterpCoefs /*, &machine->QuadPos*/ |