Hash :
cf04616b
Author :
Date :
2025-09-11T12:16:54
Trace/Replay: Make SetupReplayContext(main) last in setup The SetupReplayContext function for the main context was always executed first in the main setup replay function -- move it to last to minimize issues where Frame1 is expecting specific shader state from the main context. Test: angle_trace_tests --gtest_filter=*harry_potter_magic_awakened Bug: b/445208963 Change-Id: Ia48760e704465150617ffd33d419195723a51285 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6950246 Reviewed-by: Cody Northrop <cnorthrop@google.com> Commit-Queue: Cody Northrop <cnorthrop@google.com>
#pragma once
#define CL_NO_EXTENSION_PROTOTYPES
#include <angle_cl.h>
#include <stdint.h>
#include "trace_fixture_cl.h"
// Public functions are declared in trace_fixture_cl.h.
// Private Functions
void ReplayFrame2(void);
void ReplayFrame3(void);
void ReplayFrame4(void);
void ReplayFrame5(void);
void InitReplay(void);
// Global variables
extern const char * clCreateProgramWithSource_strings_0[];
static clIcdGetPlatformIDsKHR_fn clIcdGetPlatformIDsKHR;
static clEnqueueAcquireExternalMemObjectsKHR_fn clEnqueueAcquireExternalMemObjectsKHR;
static clEnqueueReleaseExternalMemObjectsKHR_fn clEnqueueReleaseExternalMemObjectsKHR;