diff options
author | Jason Ekstrand <[email protected]> | 2015-10-01 08:30:56 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-10-02 14:22:52 -0700 |
commit | 28709e37d96d6b64753ca4dcce5fbfeb75f5b499 (patch) | |
tree | f92d468b923fbbb05c6a8ead9ec4deab3516a8cb /src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp | |
parent | cdf314cb21377ee7caca05bd1abab6a2b921d213 (diff) |
i965/shader: Pull assign_common_binding_table_offsets out of backend_shader
This really has nothing to do with the backend compiler and we'd like to
eventually be able to set this up earlier in the compile process.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp b/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp index 6db6d276f76..52190076d28 100644 --- a/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp +++ b/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp @@ -41,7 +41,9 @@ gen6_gs_visitor::assign_binding_table_offsets() /* In gen6 we reserve the first BRW_MAX_SOL_BINDINGS entries for transform * feedback surfaces. */ - assign_common_binding_table_offsets(BRW_MAX_SOL_BINDINGS); + brw_assign_common_binding_table_offsets(MESA_SHADER_GEOMETRY, devinfo, + shader_prog, prog, stage_prog_data, + BRW_MAX_SOL_BINDINGS); } void |