i965: Move assign_common_binding_table_offsets to brw_program
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 1 Mar 2017 00:40:56 +0000 (16:40 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 2 Mar 2017 00:13:55 +0000 (16:13 -0800)
commit45d3dbebb2b288553bd9590036a9d55dfc6d31f3
tree0441dcbef797e4aca73bc4373c9bbaa82fb27430
parent8123402fd1271859eb96d5402c80d0d55f1ceda2
i965: Move assign_common_binding_table_offsets to brw_program

This isn't used by Vulkan and is specific to the way the GL driver
works.  There's no reason to have it in common compiler code.  Also, it
relies on BRW_MAX_* defines which are defined in brw_context.h

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_program.c
src/mesa/drivers/dri/i965/brw_program.h
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_shader.h