mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
pan/va: Default valhall compiler tests to arch v10
Some compiler tests were not specifying arch, which will not work once v15 support lands. Therefore, default these to v10.
This commit is contained in:
parent
4d341937b1
commit
64504422ab
2 changed files with 3 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
|||
static inline void
|
||||
add_imm(bi_context *ctx)
|
||||
{
|
||||
ctx->arch = 10;
|
||||
struct hash_table_u64 *stats = _mesa_hash_table_u64_create(ctx);
|
||||
bi_foreach_instr_global(ctx, I) {
|
||||
va_lower_constants(ctx, I, stats, UINT32_MAX);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,9 @@ strip_discard(bi_context *ctx)
|
|||
do { \
|
||||
void *mem_ctx = ralloc_context(NULL); \
|
||||
bi_builder *A = bit_builder(mem_ctx); \
|
||||
A->shader->arch = 10; \
|
||||
bi_builder *B = bit_builder(mem_ctx); \
|
||||
B->shader->arch = 10; \
|
||||
{ \
|
||||
UNUSED bi_builder *b = A; \
|
||||
test; \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue