EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

RCGP: Resource Contracts for Graphics Programming

Venkataram Sivaram, Sai Praveen Bangaru, Ravi Ramamoorthi, Tzu-Mao Li, Jonathan Ragan-Kelley, Fredo Durand

ACM Transactions on Graphics · 03.07.2026 · 45 (4) · 1-26

DOI: 10.1145/3811317 ↗

Kurz gefasst

Fachartikel in der Zeitschrift ACM Transactions on Graphics, online erschienen am 03.07.2026. Verfasst von Venkataram Sivaram und 5 weiteren Autor:innen. Die Arbeit nennt 34 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: NSF.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Computer graphics applications are sophisticated heterogeneous programs that orchestrate numerous components, including shaders, pipelines, resource descriptors, and command streams. In modern graphics workflows, communication between these components is mediated by resources such as shader I/O, storage buffers, and resource bindings. To make this communication correct, developers must uphold resource contracts. These contracts cover agreements on type, layout, binding locations, synchronization requirements, and related properties. In standard practice, these contracts are satisfied implicitly through conventions. As a result, contract breaches are often detected too late, at runtime by validation layers, or worse, as visual artifacts in rendered output. In this work, we present RCGP 1 , a system that mechanistically enforces resource contracts between components of a graphics program. RCGP formalizes contracts , which are centralized through single-source-of-truth resource declarations, as statically introspectable units that can be verified. We map objects from distinct program components to modules that import and export contracts. Modules are then composed into larger components via combinators , which check compatibility between the corresponding contracts and compute the residual contracts for the result. Finally, RCGP upholds these contracts through a set of witnesses , which encode the necessary promises. Using a prototype implementation in C++ and Vulkan, we demonstrate that this formulation converts common classes of late failures, such as descriptor-type mismatches, layout drift, and missing synchronization barriers, into early, actionable compile-time diagnostics.

Förderung

  • NSF

Zitieren

APA

Sivaram, V., Bangaru, S. P., Ramamoorthi, R., Li, T., Ragan-Kelley, J., & Durand, F. (2026). RCGP: Resource Contracts for Graphics Programming. ACM Transactions on Graphics, 45(4), 1-26. https://doi.org/10.1145/3811317

Vancouver

Sivaram V, Bangaru SP, Ramamoorthi R, Li T, Ragan-Kelley J, Durand F. RCGP: Resource Contracts for Graphics Programming. ACM Transactions on Graphics. 2026;45(4):1-26. doi:10.1145/3811317

BibTeX
@article{Sivaram2026,
  author = {Sivaram, Venkataram and Bangaru, Sai Praveen and Ramamoorthi, Ravi and Li, Tzu-Mao and Ragan-Kelley, Jonathan and Durand, Fredo},
  title = {RCGP: Resource Contracts for Graphics Programming},
  journal = {ACM Transactions on Graphics},
  year = {2026},
  volume = {45},
  number = {4},
  pages = {1--26},
  doi = {10.1145/3811317}
}
Kostenlos starten →