Rendering import and shader authoring tests
Section titled “Rendering import and shader authoring tests”Inno.Rendering.Assets.Authoring.Tests owns the behavior described below. Use this guide to find relevant assertions and their environment; the scenario list is not a current passing result.
Behavior covered
Section titled “Behavior covered”Material and raster state round-trip through asset serialization without replacing provider-owned roles, capabilities or choices. Metadata remains an open provider protocol. Import tests use one compilation model across graph shaders, materials and pipeline assets. Includes resolve from the candidate mount snapshot and declared plugin dependencies; a source library exports explicit graph functions.
Runtime export strips authoring graph/function artifacts while preserving shader identity and definition. Compiler failures cannot carry successful binary bytes; successful results copy adapter-owned bytes, bindings and diagnostics instead of retaining mutable producer storage.
Environment and execution
Section titled “Environment and execution”The project declares the contract layer. Inspect the authoring tool and native requirements selected by the actual plan. Preserve real importer, source discovery and tool-result assertions; a runtime serialization pass does not replace shader authoring integration.
Generate and inspect one validation plan, then execute that plan with its evaluated target, product and output properties. A focused test filter helps diagnosis; it does not replace required owner evidence. The pinned project file contains the actual references and metadata.
Scenario reference
Section titled “Scenario reference”Representative entry points are checked against the pinned source. The linked files retain all assertions and parameterized cases.
Mesh And State
Section titled “Mesh And State”Read the complete assertions. Representative entry points:
MaterialAndPipelineState_RoundTripsThroughAssetSerializationMaterialResolver_UsesProviderOwnedContractsRolesAndCapabilitiesShaderRasterState_RoundTripsWithoutLosingProviderChoicesMaterialMetadataRemainsAnOpenProviderProtocol
Rendering Importer Integration
Section titled “Rendering Importer Integration”Read the complete assertions. Representative entry points:
LoaderUsesGraphShaderMaterialAndPipelineAssetsWithOneCompilationModelShaderIncludesUseTheCandidateMountSnapshotAndDeclaredPluginDependenciesRuntimeExportStripsGraphAndFunctionArtifactsAndPreservesShaderIdentityAndDefinitionOneShaderSourceLibraryExportsMultipleExplicitGraphFunctions
Shader Compiler
Section titled “Shader Compiler”Read the complete assertions. Representative entry points:
FailedToolResultsCannotCarrySuccessfulBinaryBytesToolResultsCopyAdapterOwnedBytesBindingsAndDiagnosticsCompileAsyncUsesGraphLoweringAndTypedStagesAdapterFailureRetainsOriginalSourceLocationAndNoPartialProgram
Shader Graph Artifact
Section titled “Shader Graph Artifact”Read the complete assertions. Representative entry points:
FrozenArtifactRecordsKeepTheirPersistentIdentitiesAfterOwnershipMovesSemanticFingerprintIgnoresLayoutButIncludesPropertiesAndFrozenDependenciesExpandedProgramCompilesWhileAuthoringExportRetainsTheSmallSourceGraphTemporarilyEmptyInputNameRetainsItsMaterialDefaultWhileTyping
Shader Publication
Section titled “Shader Publication”Read the complete assertions. Representative entry points:
ShaderCommitDetachesEveryNestedDeclarationOnInputAndOutputFailedShaderCommitPreservesThePreviousDefinitionAndSerializedStateShaderGraphRetainsCanonicalInputWhenTheAuthoringDefinitionIsEditedMaterialSelectionAndResolvedPassDoNotPublishTheirMetadataArrays
Extend safely
Section titled “Extend safely”Follow suite maintenance. Fixtures own their own sessions, temporary files and processes. Preserve thread, release and failure ordering; do not remove another owner’s lock or widen production visibility.