mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-29 16:18:20 +02:00
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33482>
43 lines
725 B
C
43 lines
725 B
C
/*
|
|
* Copyright 2012 Advanced Micro Devices, Inc.
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#ifndef AC_CMDBUF_H
|
|
#define AC_CMDBUF_H
|
|
|
|
#include <inttypes.h>
|
|
|
|
#include "ac_pm4.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct ac_preamble_state {
|
|
uint64_t border_color_va;
|
|
|
|
struct {
|
|
bool cache_cb_gl2;
|
|
bool cache_db_gl2;
|
|
} gfx10;
|
|
|
|
struct {
|
|
uint32_t compute_dispatch_interleave;
|
|
} gfx11;
|
|
};
|
|
|
|
void
|
|
ac_init_compute_preamble_state(const struct ac_preamble_state *state,
|
|
struct ac_pm4_state *pm4);
|
|
|
|
void
|
|
ac_init_graphics_preamble_state(const struct ac_preamble_state *state,
|
|
struct ac_pm4_state *pm4);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|