diff options
author | Luca Barbieri <[email protected]> | 2010-09-03 15:44:27 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-09-03 16:13:21 +0200 |
commit | 6ddfdaead85df873de96939239013c772dca745f (patch) | |
tree | 623b5ac77506ed999ddd4120c3fef9f16fbd5fd2 /src/gallium/drivers/nvfx/nvfx_context.h | |
parent | 50c1b6f2e845c067ac91493c0f93caca794521dd (diff) |
nvfx: fix support for more than 8 texture units (fixes etqw crash)
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_context.h')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_context.h b/src/gallium/drivers/nvfx/nvfx_context.h index 4c654bfa8ba..9e46f5d623f 100644 --- a/src/gallium/drivers/nvfx/nvfx_context.h +++ b/src/gallium/drivers/nvfx/nvfx_context.h @@ -199,8 +199,8 @@ struct nvfx_context { int use_vertex_buffers; unsigned hw_vtxelt_nr; - uint8_t hw_samplers; - uint32_t hw_txf[8]; + unsigned hw_samplers; + uint32_t hw_txf[16]; struct nvfx_render_target hw_rt[4]; struct nvfx_render_target hw_zeta; int hw_pointsprite_control; |