-
公开(公告)号:US20170090886A1
公开(公告)日:2017-03-30
申请号:US15244668
申请日:2016-08-23
Applicant: Apple Inc.
Inventor: Aaftab A. Munshi , Charles Brissart , Owen Anderson , Mon Ping Wang , Ravi Ramaseshan
CPC classification number: G06F8/41 , G06F8/423 , G06F8/52 , G06F9/4552 , G06T1/20
Abstract: Ubershaders may be used in a graphics development environment as an efficiency tool because many options and properties may be captured in a single shader program. Each selectable option of property in the shader code may be tagged with an attribute to indicate the presence of the selection. The single shader program embodying the many selectable options and properties may be compiled to an intermediate version that also embodies the many options and properties, along with at least remnants of the tagging attributes. Upon a request for executable code including indications of the desired selectable options or properties, generation of the executable code may proceed such that it includes only the desire selectable options and properties and not other selectable options and properties embodied in the source code.
-
公开(公告)号:US10180825B2
公开(公告)日:2019-01-15
申请号:US15244668
申请日:2016-08-23
Applicant: Apple Inc.
Inventor: Aaftab A. Munshi , Charles Brissart , Owen Anderson , Mon Ping Wang , Ravi Ramaseshan
Abstract: Ubershaders may be used in a graphics development environment as an efficiency tool because many options and properties may be captured in a single shader program. Each selectable option of property in the shader code may be tagged with an attribute to indicate the presence of the selection. The single shader program embodying the many selectable options and properties may be compiled to an intermediate version that also embodies the many options and properties, along with at least remnants of the tagging attributes. Upon a request for executable code including indications of the desired selectable options or properties, generation of the executable code may proceed such that it includes only the desire selectable options and properties and not other selectable options and properties embodied in the source code.
-