summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/rbug
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-01-06 16:26:49 -0800
committerIan Romanick <[email protected]>2012-01-11 12:51:24 -0800
commit1c177452005a0366db01629d875da553f7949ddd (patch)
tree386f2547dbd9698c9fc1411fdffc2ae860d98056 /src/gallium/drivers/rbug
parentefdc8bf1894790a85c118881395a998cbae34c1a (diff)
i965: Don't use _mesa_ir_link_shader to do our dirty work
Instead, do the uniform setting and input / output mapping directly in brw_link_shader. Hurray for not generating Mesa IR! However, once the i965 driver stops calling _mesa_ir_link_shader, UsesClipDistance and UsesKill are no longer set. Ideally gen6_upload_vs_push_constants should use the gl_shader_program, but I don't see a way to propagate the information there. The other alternative, since this is the only usage, is to move gl_vertex_program::UsesClipDistance to brw_vertex_program. The compile (and precompile) stages use UsesKill to determine the cache key for the shader. This is then used to determine whether or not to compile the shader. Calculating this data during compilation is too late. Signed-off-by: Ian Romanick <[email protected]> Acked-by: Kenneth Graunke <[email protected]> Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/rbug')
0 files changed, 0 insertions, 0 deletions