r600g: Add pkt_flag parameter to r600_context_block_emit_dirty()
authorTom Stellard <thomas.stellard@amd.com>
Mon, 25 Jun 2012 21:16:11 +0000 (21:16 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 9 Jul 2012 13:41:17 +0000 (13:41 +0000)
commite00e1586dd94c1bbcd1ecfd9649fde9281be1977
tree1fce3d3a1f211d930358d4cc4eb96d4e6a389608
parent25145de03e980a182b656efce75c33a6129def06
r600g: Add pkt_flag parameter to r600_context_block_emit_dirty()

This allows the shader type bit to be set in the pm4 header when
emitting registers for compute shaders.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/gallium/drivers/r600/r600.h
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_state_common.c