1/* @ajax/pathtrace-job-scene: a fleet job's scene (pathtrace-core lib.rs `job_scene`): the default
2 * scene with the job's setup tasks applied in order, as every member's program applies them to its
3 * view. Freestanding. */
4#ifndef PATHTRACE_JOB_SCENE_H
5#define PATHTRACE_JOB_SCENE_H
67#include "pathtrace/default_scene.h"
89#include <stddef.h>
10#include <stdint.h>
1112typedef struct {
13 uint32_t op, arg;
14} pt_setup_task;
1516/* Writes the scene into out (PT_DEFAULT_SCENE_WORDS words) and returns -1; or, when setup task i is
17 * neither OP_DEFAULT nor a valid OP_SET, returns i (out then holds the scene so far). Validate the
18 * result with pt_validate_in(.., PT_FLEET_MAX_TILES). */
19long pt_job_scene(const pt_setup_task *setup, size_t n, uint32_t out[PT_DEFAULT_SCENE_WORDS]);
2021#endif