mesa: compute sampler index in ir_to_mesa rather than using UniformHash
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 5 Feb 2016 22:30:00 +0000 (09:30 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 9 Feb 2016 01:02:58 +0000 (12:02 +1100)
commitedc108765e71795755efcf7be479e3bcdd7b7ecf
tree8bdd3593ecfbe38cf4945c87b18019b4c0ba96fa
parentd0e1d6b7e27bf5f05436e47080d326d7daa63af2
mesa: compute sampler index in ir_to_mesa rather than using UniformHash

The aim of this is to work towards removing UniformHash from the program
struct so that we don't need to hold onto it in memory and pass it around
outside the linker.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/program/ir_to_mesa.cpp