mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 19:40:10 +01:00
pvr, pco: switch to clc state update shader
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37439>
This commit is contained in:
parent
2b21ec6cd2
commit
98814d343d
1 changed files with 7 additions and 7 deletions
|
|
@ -27,6 +27,8 @@
|
|||
#include <vulkan/vulkan.h>
|
||||
#include <xf86drm.h>
|
||||
|
||||
#include "pco/pco_data.h"
|
||||
#include "pco_uscgen_programs.h"
|
||||
#include "pvr_private.h"
|
||||
#include "pvr_types.h"
|
||||
#include "pvr_winsys.h"
|
||||
|
|
@ -277,19 +279,17 @@ static void pvr_setup_static_vdm_sync(uint8_t *const pds_ptr,
|
|||
uint8_t *const usc_ptr,
|
||||
uint64_t usc_sync_offset_in_bytes)
|
||||
{
|
||||
/* TODO: this needs to be auto-generated */
|
||||
const uint8_t state_update[] = { 0x44, 0xA0, 0x80, 0x05,
|
||||
0x00, 0x00, 0x00, 0xFF };
|
||||
|
||||
struct pvr_pds_kickusc_program ppp_state_update_program = { 0 };
|
||||
const pco_precomp_data *precomp_data =
|
||||
(pco_precomp_data *)pco_usclib_common[VS_NOP_COMMON];
|
||||
|
||||
memcpy(usc_ptr + usc_sync_offset_in_bytes,
|
||||
state_update,
|
||||
sizeof(state_update));
|
||||
precomp_data->binary,
|
||||
precomp_data->size_dwords * sizeof(uint32_t));
|
||||
|
||||
pvr_pds_setup_doutu(&ppp_state_update_program.usc_task_control,
|
||||
usc_sync_offset_in_bytes,
|
||||
0,
|
||||
precomp_data->temps,
|
||||
ROGUE_PDSINST_DOUTU_SAMPLE_RATE_INSTANCE,
|
||||
false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue