Skip to content

ShaderLab compiler extract the critical macros affecting the shader program before parsing the ShaderPass to save unnecessary shader variants compilation. #2230

@Sway007

Description

@Sway007

Is your feature request related to a problem? Please describe.

Some macro has no effect on compiled shader program, the knowleage of all "critical" macro list will save unnecessary shader variants compilation.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmedium priorityMedium priority issueshaderShader related functions

Type

No type

Projects

Status

To do

Relationships

None yet

Development

No branches or pull requests

Issue actions