diff options
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -318,6 +318,11 @@ int r600_tri_flat(struct radeon *radeon) batch.inputs.elements[1].sq_vtx_word0 = 0x7C000000; batch.inputs.elements[1].sq_vtx_word1 = 0x18ED1000; batch.inputs.elements[1].sq_vtx_word2 = 0x00080000; + batch.vgt_primitive_type = 5; + batch.vgt_dma_index_type = 0; + batch.vgt_dma_num_instances = 1; + batch.vgt_num_indices = 4; + batch.vgt_draw_initiator = 2; rq.type = 0; rq.data = &batch; rq.bo[0] = vbo1; |