aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-10-02 18:53:04 -0700
committerEric Anholt <[email protected]>2013-10-15 10:18:45 -0700
commit4e5306453da6a1c076309e543ec92d999e02f67a (patch)
treec844468b4cd513e1bbf11e023082890e0b1412ca /src/mesa/drivers/dri/i965/brw_fs_generator.cpp
parent3c9dc2d31b80fc73bffa1f40a91443a53229c8e2 (diff)
i965/fs: Dynamically set up the WM binding table offsets.
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_generator.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_generator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
index 05145d08808..fa15f7bac20 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
@@ -61,7 +61,7 @@ fs_generator::~fs_generator()
void
fs_generator::mark_surface_used(unsigned surf_index)
{
- assert(surf_index < BRW_MAX_WM_SURFACES);
+ assert(surf_index < BRW_MAX_SURFACES);
c->prog_data.base.binding_table.size_bytes =
MAX2(c->prog_data.base.binding_table.size_bytes, (surf_index + 1) * 4);