OSDN Git Service

r600g: Add r600_context_pipe_state_emit()
authorTom Stellard <thomas.stellard@amd.com>
Tue, 26 Jun 2012 20:54:32 +0000 (20:54 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 9 Jul 2012 13:41:17 +0000 (13:41 +0000)
commit3d3194e93cbfe0fc42dd96218e8e999f5ccfe726
tree00de4d1bd572b6797668a7b3b4fcaeef17fc2c3b
parente00e1586dd94c1bbcd1ecfd9649fde9281be1977
r600g: Add r600_context_pipe_state_emit()

This function is used when dispatching compute shader in order to avoid
mixing compute and 3D registers in the context's dirty list.  This
allows the compute code to resuse 3D functions like evergreen_cb, which
return a struct r600_pipe_state and still have control over when and how
the register writes are emitted.
src/gallium/drivers/r600/r600.h
src/gallium/drivers/r600/r600_hw_context.c