mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
aco: New writeout overloads for the test framework.
These will be used by future tests. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7779>
This commit is contained in:
parent
8d37aa91d6
commit
6f3c472f2e
2 changed files with 18 additions and 0 deletions
|
|
@ -222,6 +222,21 @@ void writeout(unsigned i, Temp tmp)
|
|||
bld.pseudo(aco_opcode::p_unit_test, Operand(i));
|
||||
}
|
||||
|
||||
void writeout(unsigned i, aco::Builder::Result res)
|
||||
{
|
||||
bld.pseudo(aco_opcode::p_unit_test, Operand(i), res);
|
||||
}
|
||||
|
||||
void writeout(unsigned i, Operand op)
|
||||
{
|
||||
bld.pseudo(aco_opcode::p_unit_test, Operand(i), op);
|
||||
}
|
||||
|
||||
void writeout(unsigned i, Operand op0, Operand op1)
|
||||
{
|
||||
bld.pseudo(aco_opcode::p_unit_test, Operand(i), op0, op1);
|
||||
}
|
||||
|
||||
VkDevice get_vk_device(enum chip_class chip_class)
|
||||
{
|
||||
enum radeon_family family;
|
||||
|
|
|
|||
|
|
@ -85,6 +85,9 @@ void finish_insert_nops_test();
|
|||
void finish_assembler_test();
|
||||
|
||||
void writeout(unsigned i, aco::Temp tmp=aco::Temp(0, aco::s1));
|
||||
void writeout(unsigned i, aco::Builder::Result res);
|
||||
void writeout(unsigned i, aco::Operand op);
|
||||
void writeout(unsigned i, aco::Operand op0, aco::Operand op1);
|
||||
|
||||
/* vulkan helpers */
|
||||
VkDevice get_vk_device(enum chip_class chip_class);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue