r600g: Put shaders into immutable buffers.
authorMathias Fröhlich <Mathias.Froehlich@web.de>
Fri, 3 Jun 2011 22:21:29 +0000 (00:21 +0200)
committerAlex Deucher <alexdeucher@gmail.com>
Mon, 13 Jun 2011 15:33:20 +0000 (11:33 -0400)
commit2f0b44f981d1715b62b189f465546d865b10d0f3
treeb80172b91b5f341f086e005328612b0eceb84e7d
parentb0f1767d776e2c80cab4343b4cd59553fbf5e48a
r600g: Put shaders into immutable buffers.

Put the shader programs into an immutable buffer object.
Also make sure that those object can be taken from the user
space buffer object pool.
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_shader.c