summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-06-25 20:00:47 +0000
committerTom Stellard <[email protected]>2012-07-09 13:41:17 +0000
commit38be0966c7e58fb3017c222cf416ae2bdc0bee3d (patch)
treebbbcfc929a841d86cc1c8acbfbc9b28bff6dc351 /common.py
parent7d0c17fe74ec0a264fb0441e6774f6708e940614 (diff)
r600g: Add pkt_flag member to struct r600_command_buffer
Some packets require the shader type bit (bit 1) to be set when used for compute shaders. The pkt_flag will be initialized to RADEON_CP_PACKET3_COMPUTE_MODE for any struct r600_command_buffer used for dispatching compute shaders and it will be or'd against the result of the PKT3 macro when adding a new packet to a struct r600_command buffer. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions