SYSTEM AND METHOD FOR USING UBERSHADER VARIANTS WITHOUT PREPROCESSING MACROS

    公开(公告)号:EP3356932A1

    公开(公告)日:2018-08-08

    申请号:EP16775929.9

    申请日:2016-09-19

    申请人: Apple Inc.

    IPC分类号: G06F9/45 G06F9/455

    摘要: 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.

    A SYSTEM AND METHOD THEREOF FOR CREATING DYNAMICALLY ATTACHABLE AND DETACHABLE BINARY FILES
    3.
    发明公开
    A SYSTEM AND METHOD THEREOF FOR CREATING DYNAMICALLY ATTACHABLE AND DETACHABLE BINARY FILES 审中-公开
    用于生产动态可固定和可溶解二元文件的系统和方法

    公开(公告)号:EP2987079A4

    公开(公告)日:2016-04-06

    申请号:EP14814726

    申请日:2014-10-29

    IPC分类号: G06F9/45 G06F9/44 G06F9/445

    摘要: A technique for creating dynamically attachable and detachable binary files is provided. The invention provides an efficient mechanism to manage the existing code bases with respect to the additional code needed for a particular feature as a single code base. It also provides a mechanism for designers to plan for such features even before the code is conceptualized. The system parses the code having a dynamic feature manager (DFM) tag to produce a base code wherein the DFM tag encloses a feature. The multiple code sets based on the DFM tags are created. A feature change table storing the information about a changed feature compared to the feature from the code sets is generated and stored in the system. The code sets are then compiled to generate binaries. The difference between each of the binaries, using the feature change tables is determined and stored which is used for creating differential binary file(s).

    COMPILING DEVICE, COMPILING METHOD, AND STORAGE MEDIUM STORING COMPILER PROGRAM
    4.
    发明公开
    COMPILING DEVICE, COMPILING METHOD, AND STORAGE MEDIUM STORING COMPILER PROGRAM 审中-公开
    KOMPILIERUNGSVORRICHTUNG,KOMPILIERUNGSVERFAHREN UND SPEICHERMEDIUM MIT DARAUF GESPEICHERTEM COMPILER-PROGRAMM

    公开(公告)号:EP2963547A1

    公开(公告)日:2016-01-06

    申请号:EP15160215.8

    申请日:2015-03-23

    申请人: FUJITSU LIMITED

    IPC分类号: G06F9/45

    CPC分类号: G06F8/443 G06F8/423

    摘要: A compiling device comprising: a memory; and a processor coupled to the memory, the processor configured to: extract, from a file, an optimization directive for a program at an intermediate stage of program optimization; by applying the optimization directive, verify validity of data dependency of the program; and by applying the optimization directive, determine a probability of improvement in execution performance, based on a degree of satisfaction of an optimization applicable condition that is to be satisfied by the program.

    摘要翻译: 一种编译装置,包括:存储器; 以及耦合到所述存储器的处理器,所述处理器被配置为:在程序优化的中间阶段从文件提取用于程序的优化指令; 通过应用优化指令,验证程序的数据依赖性的有效性; 并且通过应用优化指令,基于要由程序满足的优化适用条件的满足程度来确定执行性能的改进概率。

    ALGORITHM SELECTION PROGRAM, ALGORITHM SELECTION DEVICE, AND METHOD
    5.
    发明公开
    ALGORITHM SELECTION PROGRAM, ALGORITHM SELECTION DEVICE, AND METHOD 审中-公开
    程序FÜRALGORITHMENAUSWAHL,VORRICHTUNGFÜRALGORITHMENAUSWAHL UND VERFAHREN

    公开(公告)号:EP2450788A1

    公开(公告)日:2012-05-09

    申请号:EP09846820.0

    申请日:2009-07-02

    申请人: Fujitsu Limited

    发明人: MIYOSHI, Ikuo

    IPC分类号: G06F9/44 G06F9/45

    CPC分类号: G06F8/423 G06F9/4486

    摘要: Provided are an algorithm selection program, an algorithm selection device, and an algorithm selection method which can improve the algorithm selection grading for call-out of a function by the program. When a call-out source program calls out an extension program which executes a predetermined function, the algorithm selection program selects one of algorithm among of a plurality of algorithms of the extension program by executing: acquiring from a storage device, a command which calls out an extension program in the call-out source program to an information processing device having the storage device and selection information correlated to the one of algorithm; and selecting the algorithm which performs a predetermined function in accordance with the acquired selection information.

    摘要翻译: 提供了一种算法选择程序,算法选择装置和算法选择方法,其可以改进由程序调用函数的算法选择分级。 当呼出源程序调用执行预定功能的扩展程序时,算法选择程序通过执行以下操作来选择扩展程序的多种算法中的一种算法:从存储装置获取调用 所述呼出源程序中的扩展程序发送到具有与所述算法相关的所述存储装置和选择信息的信息处理装置; 以及根据获取的选择信息选择执行预定功能的算法。

    Method and apparatus for associating metadata attributes with program elements
    6.
    发明公开
    Method and apparatus for associating metadata attributes with program elements 审中-公开
    用于连接元数据的方法和装置与程序元素属性

    公开(公告)号:EP1400897A3

    公开(公告)日:2007-04-11

    申请号:EP03255528.6

    申请日:2003-09-04

    IPC分类号: G06F9/45

    CPC分类号: G06F8/423

    摘要: A system is provided for associating metadata attributes with program elements. During operation, the system receives source code containing syntactic elements that specify metadata attributes for program elements. The metadata attributes do not affect program execution. The system then parses the source code to obtain the metadata attributes. Next, the system associates the metadata attributes with corresponding program elements and determines values associated with the metadata attributes. Finally, the system incorporates the metadata attributes, including identifiers for the associated values and the associated program elements, into object code for the program, thereby allowing the metadata attributes to be accessed from the object code. Another embodiment of the present invention provides a system for accessing metadata attributes for program elements from object code through an application programming interface (API).

    REGENERATING HEADER FILES OUT OF PREPROCESSED AND AFTERWARDS MODIFIED SOURCE FILES
    7.
    发明公开
    REGENERATING HEADER FILES OUT OF PREPROCESSED AND AFTERWARDS MODIFIED SOURCE FILES 审中-公开
    头文件从预处理后的再生,然后进行修改的源文件

    公开(公告)号:EP1627300A2

    公开(公告)日:2006-02-22

    申请号:EP04727084.8

    申请日:2004-04-13

    发明人: POPP, Ondrej

    IPC分类号: G06F9/44 G06F9/45

    CPC分类号: G06F8/423 G06F8/71

    摘要: A plurality of source files (20) and one or more header files (21) are provided. The header files that contain information that several of the source files refer to. The original files are preprocessed, each to generate a respective preprocessed file, said preprocessing comprising expanding the several of the source files with the information from a first header file. A collective processing step (24a) is applied to make coordinated changes to information from the preprocessed files. The changed preprocessed files are used to regenerate modified source (25) and header (26) files. For regenerating (24b) the first header file, one of the preprocessed files is selected on the basis of detection that the selected file elaborates the information from the first header file. The first header file (26a) is regenerated from the information in the selected file.