summaryrefslogtreecommitdiffstats
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorRohan Garg <[email protected]>2019-07-17 18:50:13 +0200
committerAlyssa Rosenzweig <[email protected]>2019-08-06 17:18:19 -0700
commit16edd56fccad7ba0e1b938a60f0f5e927a104585 (patch)
tree76dd9dcc3475b4883bfb295a5fef8f8f9020d937 /scons/gallium.py
parent4bb17c08ae5d734894de0fcefe6a9645b443bf34 (diff)
panfrost: Take into account a index_bias for glDrawElementsBaseVertex calls
Midgard does not accept a index_bias directly and relies instead on a bias correction offset (offset_bias_correction) in order to calculate the unbiased vertex index. We need to make sure we adjust offset_start and vertex_count in order to take into account the index_bias as required by a glDrawElementsBaseVertex call and then supply a additional offset_bias_correction to the hardware. Signed-off-by: Rohan Garg <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'scons/gallium.py')
0 files changed, 0 insertions, 0 deletions