mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
pvr: re-indent pseudocode for DDMADT behavior
In pvr_pipeline_pds.c, there's a pseudocode snippet describing the behavior of DDMADT PDS instruction, which seems to be copied from some internal document about PDS behavior. However, the pseudocode isn't properly indented, especially some brackets are misaligned. This blocks fluent reading of the pseudocode and may even mislead the reader. Re-indent the pseudo code with similar rules with C codes in the driver. Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Acked-by: Simon Perretta <simon.perretta@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40533>
This commit is contained in:
parent
c75256b2ab
commit
7fa0add77d
1 changed files with 8 additions and 8 deletions
|
|
@ -1056,14 +1056,14 @@ void pvr_pds_generate_vertex_primary_program(
|
|||
* if (test == 1) {
|
||||
* // DDMAD(T)
|
||||
* if (calculated_source_address[39:0] + (burst_size<<2) <=
|
||||
* base_address[39:0] + buffer_size) {
|
||||
* OOB := 0
|
||||
* DOUTD calculated_source_address,dma_paramters
|
||||
* } else {
|
||||
* OOB := 1
|
||||
* if (last_instance == 1) {
|
||||
* dma_parameters[BURST_SIZE] := 0
|
||||
* DOUTD calculated_source_address,dma_paramters
|
||||
* base_address[39:0] + buffer_size) {
|
||||
* OOB := 0
|
||||
* DOUTD calculated_source_address,dma_paramters
|
||||
* } else {
|
||||
* OOB := 1
|
||||
* if (last_instance == 1) {
|
||||
* dma_parameters[BURST_SIZE] := 0
|
||||
* DOUTD calculated_source_address,dma_paramters
|
||||
* }
|
||||
* }
|
||||
* } else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue