1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2025-01-30 22:52:14 +01:00

removed unused control list funcs

This commit is contained in:
Unknown 2018-06-10 16:21:36 +01:00
parent 9323469824
commit 83f7a48e96

View File

@ -185,6 +185,7 @@ void clInsertStoreMultiSampleResolvedTileColorBufferAndEOF(ControlList* cl)
cl->nextFreeByte++; cl->nextFreeByte++;
} }
/*
//input: 2 cls (cl, handles cl) //input: 2 cls (cl, handles cl)
void clInsertStoreFullResolutionTileBuffer(ControlList* cls, void clInsertStoreFullResolutionTileBuffer(ControlList* cls,
ControlListAddress address, ControlListAddress address,
@ -207,7 +208,9 @@ void clInsertStoreFullResolutionTileBuffer(ControlList* cls,
moveBits(address.offset, 28, 4); moveBits(address.offset, 28, 4);
cls->nextFreeByte += 4; cls->nextFreeByte += 4;
} }
*/
/*
//input: 2 cls (cl, handles cl) //input: 2 cls (cl, handles cl)
void clInsertReLoadFullResolutionTileBuffer(ControlList* cls, void clInsertReLoadFullResolutionTileBuffer(ControlList* cls,
ControlListAddress address, ControlListAddress address,
@ -226,7 +229,9 @@ void clInsertReLoadFullResolutionTileBuffer(ControlList* cls,
moveBits(address.offset, 28, 4); moveBits(address.offset, 28, 4);
cls->nextFreeByte += 4; cls->nextFreeByte += 4;
} }
*/
/*
//input: 2 cls (cl, handles cl) //input: 2 cls (cl, handles cl)
void clInsertStoreTileBufferGeneral(ControlList* cls, void clInsertStoreTileBufferGeneral(ControlList* cls,
ControlListAddress address, ControlListAddress address,
@ -267,7 +272,9 @@ void clInsertStoreTileBufferGeneral(ControlList* cls,
moveBits(address.offset, 28, 4); moveBits(address.offset, 28, 4);
cls->nextFreeByte += 4; cls->nextFreeByte += 4;
} }
*/
/*
//input: 2 cls (cl, handles cl) //input: 2 cls (cl, handles cl)
void clInsertLoadTileBufferGeneral(ControlList* cls, void clInsertLoadTileBufferGeneral(ControlList* cls,
ControlListAddress address, ControlListAddress address,
@ -299,6 +306,7 @@ void clInsertLoadTileBufferGeneral(ControlList* cls,
cls->nextFreeByte += 4; cls->nextFreeByte += 4;
} }
*/
void clInsertIndexedPrimitiveList(ControlList* cl, void clInsertIndexedPrimitiveList(ControlList* cl,
uint32_t maxIndex, uint32_t maxIndex,
@ -356,6 +364,7 @@ void clInsertShaderState(ControlList* cl,
moveBits(numberOfAttributeArrays, 3, 0); cl->nextFreeByte += 4; moveBits(numberOfAttributeArrays, 3, 0); cl->nextFreeByte += 4;
} }
/*
void clInsertClearColors(ControlList* cl, void clInsertClearColors(ControlList* cl,
uint32_t clearStencil, uint32_t clearStencil,
uint32_t clearZ, //24 bit Z uint32_t clearZ, //24 bit Z
@ -369,6 +378,7 @@ void clInsertClearColors(ControlList* cl,
*(uint32_t*)cl->nextFreeByte = clearZ; cl->nextFreeByte += 4; //24 bits for Z, 8 bit for vg mask (unused) *(uint32_t*)cl->nextFreeByte = clearZ; cl->nextFreeByte += 4; //24 bits for Z, 8 bit for vg mask (unused)
*cl->nextFreeByte = clearStencil; cl->nextFreeByte++; *cl->nextFreeByte = clearStencil; cl->nextFreeByte++;
} }
*/
void clInsertConfigurationBits(ControlList* cl, void clInsertConfigurationBits(ControlList* cl,
uint32_t earlyZUpdatesEnable, //0/1 uint32_t earlyZUpdatesEnable, //0/1
@ -554,6 +564,7 @@ void clInsertTileBinningModeConfiguration(ControlList* cl,
moveBits(doubleBufferInNonMsMode, 1, 7); cl->nextFreeByte++; moveBits(doubleBufferInNonMsMode, 1, 7); cl->nextFreeByte++;
} }
/*
void clInsertTileRenderingModeConfiguration(ControlList* cls, void clInsertTileRenderingModeConfiguration(ControlList* cls,
ControlListAddress address, ControlListAddress address,
uint32_t doubleBufferInNonMsMode, //0/1 uint32_t doubleBufferInNonMsMode, //0/1
@ -588,7 +599,9 @@ void clInsertTileRenderingModeConfiguration(ControlList* cls,
moveBits(earlyZEarlyCovDisable, 1, 11) | moveBits(earlyZEarlyCovDisable, 1, 11) |
moveBits(doubleBufferInNonMsMode, 1, 12); cls->nextFreeByte += 2; moveBits(doubleBufferInNonMsMode, 1, 12); cls->nextFreeByte += 2;
} }
*/
/*
void clInsertTileCoordinates(ControlList* cl, void clInsertTileCoordinates(ControlList* cl,
uint32_t tileColumnNumber, //int8 uint32_t tileColumnNumber, //int8
uint32_t tileRowNumber) //int8 uint32_t tileRowNumber) //int8
@ -599,6 +612,7 @@ void clInsertTileCoordinates(ControlList* cl,
*cl->nextFreeByte = V3D21_TILE_COORDINATES_opcode; cl->nextFreeByte++; *cl->nextFreeByte = V3D21_TILE_COORDINATES_opcode; cl->nextFreeByte++;
*(uint16_t*)cl->nextFreeByte = moveBits(tileColumnNumber, 8, 0) | moveBits(tileRowNumber, 8, 8); cl->nextFreeByte += 2; *(uint16_t*)cl->nextFreeByte = moveBits(tileColumnNumber, 8, 0) | moveBits(tileRowNumber, 8, 8); cl->nextFreeByte += 2;
} }
*/
void clInsertGEMRelocations(ControlList* cl, void clInsertGEMRelocations(ControlList* cl,
uint32_t buffer0, uint32_t buffer0,