diff options
author | Ian Romanick <[email protected]> | 2014-04-04 11:08:00 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-04-11 12:26:01 -0700 |
commit | 943b2d52bf5df6adde3c0abcb91d9a3899476ab0 (patch) | |
tree | adbf8d2db208faa99c8b05b61a357715c7f7ea84 /src/glsl/opt_dead_code.cpp | |
parent | 881c52f13f4a8ca1c80ca1766238d5100ddf283b (diff) |
linker: Fold set_uniform_binding into call site
In the next patch, we'll see that using
gl_shader_program::UniformStorage is not correct for uniform blocks.
That means we can't use ::UniformStorage to select between the sampler
path and the block path. Instead we want to just use the type of the
variable. That's never passed to set_uniform_binding, and it's easier
to just remove the function (especially for later patches in the series)
than to add another parameter.
Signed-off-by: Ian Romanick <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76323
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: "10.1" <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/glsl/opt_dead_code.cpp')
0 files changed, 0 insertions, 0 deletions