TW200809691A - A graphics processing unit and a method of processing border color information - Google Patents

A graphics processing unit and a method of processing border color information Download PDF

Info

Publication number
TW200809691A
TW200809691A TW096122072A TW96122072A TW200809691A TW 200809691 A TW200809691 A TW 200809691A TW 096122072 A TW096122072 A TW 096122072A TW 96122072 A TW96122072 A TW 96122072A TW 200809691 A TW200809691 A TW 200809691A
Authority
TW
Taiwan
Prior art keywords
texture
color
border
border color
memory
Prior art date
Application number
TW096122072A
Other languages
Chinese (zh)
Other versions
TWI395152B (en
Inventor
Jim Xu
Mike Hong
John Brothers
Original Assignee
Via Tech Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Via Tech Inc filed Critical Via Tech Inc
Publication of TW200809691A publication Critical patent/TW200809691A/en
Application granted granted Critical
Publication of TWI395152B publication Critical patent/TWI395152B/en

Links

Landscapes

  • Image Generation (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

Systems and methods for border color handling in a graphics processing unit are disclosed. In one embodiment, the system includes a border color register that stores at least one border color pointer. A border color pointer indicates an address in an external memory at which border color information is located. Border color information is populated within external memory and retrieved by the texture cache controller if the texture filter unit requires a border color for texture mapping operations.

Description

200809691 ¥九、發明說明: 【电明所屬之技術領域】 本發明係有關於—贿圖硬體裝置,制是有關於—種緣圖 處理單元之邊框顏色處理系統及方法。 .【先前技術】 眾所周知,電職圖處_統處理大«料,其中包括紋理 (exture)資料。紋理係為一具⑴,…座標空間之數位影像, 通常為矩形。一紋理之最小可定址單元為-紋理圖元(texel), 基於所在位置而被指定具體之(u,v)座標。於紋理貼圖操作中, 將、、文理貼至%圖模型之圖面於該模型被繪製以 產生目的衫像(destlnati〇n image)時。於該目的影像中, 像素位於(X,y)座標系統之特定座標上。 紋理資料通常儲存於系統記憶體中,係為共用之資源。於其 它電腦系統中,其它裝置能存取由該義處理紐使用之資料, •或利用-共用系統匯流排,均會增加緣圖處理系統之資料存取時 間。另外,請求系統記憶體之資料時,可能因為其他因素而花費 過多時間。因此,存取系統記憶體可能影響緣圖處理系統之效能。 -種改進#料存取之技術,係透過相於儲存朗資料:一 紋理快取記憶體。該系統記憶體於需要紋理處理之資料前,將紋 理資料提供至紋理快取記憶體,從而將紋理資料提供至該緣圖= 統’並減少存取系統記憶體之需求。.因此減少闕於記憶體等待之200809691 ¥9, invention description: [Technical field of the invention] The invention relates to a bribe hardware device, and the system relates to a frame color processing system and method for the species edge processing unit. [Prior Art] As we all know, the electric job map is used to process large materials, including texture data. The texture is a digital image of a (1),... coordinate space, usually rectangular. The smallest addressable unit of a texture is a texture primitive (texel), which is assigned a specific (u, v) coordinate based on its location. In the texture mapping operation, the texture is applied to the graph of the % graph model when the model is drawn to produce the destination shirt image (destlnati〇n image). For this purpose image, the pixels are located on specific coordinates of the (X, y) coordinate system. Texture data is usually stored in system memory and is a shared resource. In other computer systems, other devices that have access to the data used by the processing bank, or the use-share system bus, will increase the data access time of the edge map processing system. In addition, when requesting data from system memory, it may take too much time due to other factors. Therefore, accessing system memory may affect the performance of the edge map processing system. - Improved #material access technology, through the storage of the data: a texture cache memory. The system memory provides texture data to the texture cache memory prior to the need for texture processing, thereby providing texture data to the edge map and reducing the need to access system memory. Therefore, it is less than waiting for memory.

ClienVs Docket No.: S3U06-O012I00-TW TTs Docket No: 0608-A4I !59-TW/Final/Rita/2007/04/20 5 200809691ClienVs Docket No.: S3U06-O012I00-TW TTs Docket No: 0608-A4I !59-TW/Final/Rita/2007/04/20 5 200809691

然而’通常紋理處理所需之另—種資料類型,制是邊框顏 色(border資料,不同於上述紋理快取系統之紋理資 料,亦能儲存及存取續_統中。#—紋顯元超出邊界時, 於-邊框顏色模式中,通常在紋理處理綱請求邊框顏色資料。 當處理-紋理,或將其貼至—_模型之圖面時,紋理可能未足 =覆蓋-緣圖模型’且該纷圖處理單元之紋理處理系統,於一特 疋之(u ’ v)維度中,必須處理超出紋理範圍外座標之繪圖模型紋 理貼圖。-特定邊框顏色可助於超蚊理本身邊界座標之緣圖 模型,因此於這些情況下通常需要邊框顏色。 紋理處理之其它例子,係於—固定(clamp)模式下,對4 圖模型請求-紐。若於此―模式下,—_彡像不包括整麵 型’可固定該紋理影像以覆蓋整個多邊形(p〇lyg〇n)。任何所屬 技術領域巾具有通常知識者鱗_,亦可延伸—紋理影像之最 後像素,並覆蓋贿紋理影像貼上模贿剩餘之_區域。或者, 換句話說,驗理影像範圍外之像素,制_的紋理資料作為 驗理影像之邊緣。對於具有通f知識者^言,峡操作係為一 已知之操作,作為上述超纽標邊界之紋理處理操作。 。於-邊框顏色模式中’-賴模型之紋理應用係為紋理處理 挺作之其它例子。若於此—模式下’ 影像並未涵蓋整個模 型’可將-_顏色應用至紋理影像範圍外續圖模型座標。相However, the other type of data that is usually required for texture processing is the border color (border data, which is different from the texture data of the above texture cache system, and can also be stored and accessed in the continuation_#. In the border, in the border color mode, the border color data is usually requested in the texture processing. When processing - texture, or pasting it to the surface of the -_ model, the texture may not be full = overlay - edge graph model 'and The texture processing system of the tiling processing unit, in a special (u'v) dimension, must process the drawing model texture map beyond the coordinates of the texture range. - The specific border color can help the super-mosquito itself boundary coordinates The edge map model, therefore, the border color is usually required in these cases. Other examples of texture processing are in the -clamp mode, requesting -4 for the 4 graph model. If this mode, -_彡Including the full-face type 'fixes the texture image to cover the entire polygon (p〇lyg〇n). Any technical field of the art has the usual knowledge scales, and can also extend - the last pixel of the texture image, and The bribe texture image is attached to the remaining area of the bribe. Or, in other words, the pixels outside the image range are examined, and the texture data of the system is used as the edge of the image. For those who have knowledge of the f, the operation of the gorge It is a known operation, as the texture processing operation of the above-mentioned super-marker boundary. In the -Border color mode, the texture application of the '-Lai model is another example of texture processing. If this is the mode - the image Does not cover the entire model 'can apply the -_ color to the texture image range continuation chart model coordinates.

Clients Docket No.: S3U06-0012I00-TW TT s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 200809691 對於上奴固定鮮’對於㈣—選枝理影像難之模型部 份,將該紋理有效地延伸至整崎圖模型。於—邊框顏色模式中, 可為這些娜卜之座標,選擇_财邊框顏色。可透過—程式設 計師巾鄉獅er)、—自動化軟體演算法(遂。喊ed s〇f fre algQrithm)、或硬體執行紋理處理操作,_以選擇 一邊框顏色’並貼至麟職型,於超出選枝理影像範圍之座Clients Docket No.: S3U06-0012I00-TW TT s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 200809691 For the slaves to fix fresh 'for (4) - select the model part of the difficult image, This texture is effectively extended to the sturdy graph model. In the border color mode, you can select the color of the border for these coordinates. Can be through - programmer designer lion er), - automated software algorithm (遂. shout ed s〇f fre algQrithm), or hardware to perform texture processing operations, _ to select a border color 'and paste to the basic type , in the seat beyond the range of selected images

標上。應讀綱’林紅樣其它這類賴相於紋理貼圖操 作’包括,但非用以限定,—包覆(wrap)模式、一中央 模式,或其它已知之模式。 目前,於邊框顏色模式下,用於紋理處理操作之邊框顏色資 訊,通常儲存於-繪圖處理單元内所設置之專用記憶體(職。㈣ 或快取記憶體(cache)架構中。對於可於績圖處理單元内執行之 每著色為(shader)而言,此一邊框顏色資訊,通常以至少工$ 種邊框顏色表示之。也就是說,對於可於繪圖處理單元内執行之 每一著色器而言,通常會要求至少要具有16種邊框顏色。除此之 外,該16種邊框顏色可以不同格式儲存,以供一紋理過濾 (texture filtering)單元或過濾程序使用。在一非限定例子 中’某些、%圖處理單元’將每一邊框顏色以I2種不同格式儲存於 一邊框顏色快取記憶體或邊框顏色記憶體中。另外,每一格式需 要至少128位元之快取記憶體或記憶體儲存空間。 紋理資料為係一共用資源,為一繪圖管線(pipeline)之不Marked. It should be read that 'Lin Hong's other such reliance on texture mapping operations' include, but are not intended to be limited to, wrap mode, a central mode, or other known modes. Currently, in the border color mode, the border color information used for the texture processing operation is usually stored in a dedicated memory set in the graphics processing unit (service. (4) or cache memory (cache) architecture. For each shader executed in the score processing unit, the border color information is usually represented by at least $ border color. That is, for each shader that can be executed in the drawing processing unit. In general, at least 16 border colors are required. In addition, the 16 border colors can be stored in different formats for use in a texture filtering unit or filter. In a non-limiting example 'Some, % map processing unit' stores each border color in a border color cache or border color memory in I2 different formats. In addition, each format requires at least 128-bit cache memory. Or memory storage space. Texture data is a shared resource, not a drawing pipeline

Client’s Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 200809691 、同階層所需要。而紋理資料之多重内文(範 吕=不同階層可執行紋理處理操作,並且需要紋理資料或= 育訊。因此,利㈣上之快姆斷顺理資料。I r=,處理之效— 、,、曰圖处里早喊緣圖處理卡之空間益加獻。因此 理單元㈣平行執行數個著色器時,則專用於邊框顏色儲 里快取§己憶體或記憶體,除了紋理資料之外,還可能為利 邊«色快取記憶體或記憶體之一緣圖處理單元所需要。用 有’⑽於此希主旎改善繪圖處理單元之處理、設叶、以 產效能。隨著_處輯元之複·及處魏力的料,所使= 的專用邊框顏色快取記憶體或記憶體,往往需要大量之邏輯閉、 傳輸線路以及賴本。_,目編乏—她克服 知缺點之無位址需求技術。 白 【發明内容】 本發明之-實施繼揭露—種_處理單元。鱗_理單元可 口包括-邊框顏色暫存器、-紋理快取記憶體、一紋理快取記憶體控制 益、及-紋理過濾單元。該邊框顏色暫存器儲存至少一邊麵色疗, 且至少-邊框顏色指標’係用以指示儲存至少16種邊框顏色之外=己 憶體位址。該紋理快取記憶體控制器,係被配置將至少^種邊框顏色 以一紋_植雜式顯至驗理職單元,輯铜框顏色之操Client's Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 200809691, the same class needs. And the multiple texts of the texture data (Fan Lu = different levels can perform texture processing operations, and need texture data or = education. Therefore, the profit on the (4) is fast. I r =, the effect of the treatment -, In the picture, the space of the card processing card is added early. Therefore, when the unit (4) executes several shaders in parallel, it is dedicated to the border color storage and caches the memory or memory, except for the texture data. In addition, it may also be needed for the edge processing unit of the color memory or memory. The use of '(10) to improve the processing of the graphics processing unit, set the leaf, and produce efficiency. The _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Overcoming the shortcomings of the known and required address technology. [Invention] The present invention - implementation of the disclosure - the type of processing unit. Scale - rational unit delicious including - border color register, - texture cache memory, a texture Cache memory control benefits, and - texture filtering The border color register stores at least one side color therapy, and at least - the border color indicator 'is used to indicate that at least 16 kinds of border colors are stored = the memory address. The texture cache memory controller is It is configured to display at least a kind of border color to a texture unit, and to edit the color of the copper frame.

Client’s Docket No.: S3U06-0012I00-TW TTys Docket No: 0608-A41159-TW/FinaI/Rita/20〇7/〇4/2〇 200809691 -作。該紋理快取記憶、體控備,係被配置用以儲存由該紋理快取記憶 體之外部記憶體所讀取之邊框顏色。 獻理f夬取兄憶體控制為亦翻己置用以代表該紋理過滤單元,由 該外部記憶體之-基底位址讀取—邊框顏色,該基底位址係由儲存於 與框顏色暫存态之-指標所指定。該至少16種邊框顏色儲存於該外 般憶體巾,當驗理過濾單福要—邊框顏色猜紋理貼圖操作 時,透過該紋理快取記·控制器讀取。該至少is種邊框顏色,以複 • 數之格式,係以128位元之間隔排列於外部記憶體中。 另一實施例則揭露,處理邊框顏色資訊之方法。該方法之步驟 包括.將複數之邊框顏色儲存至一外部記憶體、以及於該外部記憶體 中將5亥等邊框顏色之位置儲存至—邊框顏色暫存器。該方法之步驟 亦已括由耕部兄憶體讀取該#邊框顏色記錄之一單一記錄,並以^ 紋理圖兀記錄格式,將該單一記錄儲存於一紋理快取記憶體。該方法 ^步驟進一步包括為紋理貼圖操作所需之邊框顏色資訊,將紋理圖元 • 吕己錄格式之該單一記錄提供至一紋理過濾單元。 為使本發明之上述目的、特徵和優點能更明顯雜,下文特 舉實施例,並配合所附圖示,詳細說明如下。 【實施方式】 綜上所述,本發明係揭露—種新型系統及方法用於處理邊桓 顏色資料。在開始討論各種實施例之實施細節前,請參考第工圖, 係根據本發明實施例,於一誇圖管線中使用特定元件之方塊圖。Client’s Docket No.: S3U06-0012I00-TW TTys Docket No: 0608-A41159-TW/FinaI/Rita/20〇7/〇4/2〇 200809691 - Made. The texture cache memory and the body control device are configured to store the border color read by the external memory of the texture cache memory. The fity f 夬 忆 忆 体 控制 控制 控制 控制 控制 控制 控制 控制 代表 代表 代表 代表 代表 代表 代表 代表 代表 代表 代表 代表 代表 代表 代表 代表 代表 纹理 纹理 纹理 纹理 纹理 纹理 纹理 纹理 纹理 纹理 纹理 纹理 纹理 纹理 纹理 纹理 纹理 纹理The state of the deposit - specified by the indicator. The at least 16 kinds of border colors are stored in the external memory towel, and when the texture filtering single-border border color guess texture mapping operation is performed, the texture is read by the controller. The at least is border color, in the form of a complex number, is arranged in the external memory at intervals of 128 bits. Another embodiment discloses a method of processing border color information. The method comprises the steps of: storing the plurality of border colors to an external memory, and storing the position of the border color of the 5th and the other in the external memory to the border color register. The method also includes reading a single record of the #border color record by the cultivating body, and storing the single record in a texture cache in a texture format. The method ^ step further includes providing the border color information required for the texture mapping operation to provide the single record of the texture primitive, the Lv recording format, to a texture filtering unit. The above described objects, features, and advantages of the present invention will become more apparent from the detailed description of the embodiments of the invention. [Embodiment] In summary, the present invention discloses a novel system and method for processing edge color data. Before beginning to discuss implementation details of various embodiments, reference is made to the drawings, which are block diagrams of particular elements in a schematic line in accordance with an embodiment of the invention.

Client’s Docket No·: S3U06-0012I00-TW TT5s Docket No: 〇608-A41159-TW/FinaWlita/2007/04/20 200809691 .如上所述,i圖管線之不同階層可執行紋理操作,及依序存取 邊框顏色貧訊。因此,本發明係揭露邊框顏色資料之儲存與讀取, 用以改進—_處理單元之邏輯_目效能。 翏考弟1圖,係顯示-_管線如◦之蚊元件或階層方塊 圖ϋ件為-命令流處理器252,接收錢取記憶體之頂點 座標,用以形成管線之幾何圖元(ge〇metry primitive)或產 生工作項目。就此而言,該命令流處理器252讀取記憶體之資料, ►亚且依據該轉,產生欲傳人管線之三角形、線、點、或其他圖 兀三此^可育訊,一旦組成後,隨即傳至頂點著色器⑸。該頂 占著色$ 254 ’可藉由執行操作來處糊點座標,例如:轉換、 掃描、與照明。該頂點著色器254,可由紋理元件抓要求存取 紋理操作或綠圖處理單元MO之一紋理引擎。如同上述,當紋理 操作發生於-邊㈣貞色模式時,麵柿邊㈣貞色資訊。該頂點 著色器254將資料傳遞至幾何著色器祝。該幾何著色器⑸接 >收頂點座標當作輸人,以作為—完全圖元,並且能夠輸出多重頂 點座標’用以構成一單一拓樸(t〇P〇l〇gy),例如:—三角段 (他难Strip)、線段(Une咖如、指標集(^扯: Ust)等。5亥幾何著色器MS,更進一步被配置用以執行各種演 算法,例如:細分(tessellati〇n)、陰㈣積產生法等。如上 述之頂點著色器254 ’同樣地,該幾何著色器咖,可由紋理元 件267要求存取紋理操作或繪圖處理單元25〇之—紋理引擎。因Client's Docket No·: S3U06-0012I00-TW TT5s Docket No: 〇608-A41159-TW/FinaWlita/2007/04/20 200809691 . As mentioned above, different levels of the i-picture pipeline can perform texture operations and sequential access. The border color is poor. Therefore, the present invention discloses the storage and reading of the border color data for improving the logic performance of the processing unit.翏考弟1图, shows that the -_ pipeline such as the mosquito component or the hierarchical block diagram is - the command stream processor 252, receives the money to take the vertex coordinates of the memory, to form the geometry of the pipeline (ge〇 Sense primitive) or generate a work item. In this regard, the command stream processor 252 reads the data of the memory, and according to the turn, generates a triangle, a line, a point, or another map of the pipeline to be transmitted, once composed, It is then passed to the vertex shader (5). The top coloring $ 254 ' can be used to perform paste coordinates, such as conversion, scanning, and illumination. The vertex shader 254 can be accessed by a texture component to access a texture operation or a texture engine of the green map processing unit MO. As mentioned above, when the texture operation occurs in the - edge (four) twilight mode, the persimmon (4) twilight information. The vertex shader 254 passes the data to the geometry shader. The geometry shader (5) receives the vertices coordinates as input, as a complete primitive, and can output multiple vertices coordinates to form a single topology (t〇P〇l〇gy), for example: Triangle (he is difficult to strip), line segment (Une coffee, index set (^ pull: Ust), etc. 5 Hai geometry shader MS, is further configured to perform various algorithms, for example: tessellation (tessellati〇n) The yaw (four) product generation method, etc. The vertex shader 254 as described above - Similarly, the geometry shader may be requested by the texture element 267 to access the texture operation or the graphics processing unit 25 - the texture engine.

Clienfs Docket No.: S3U06-0012I00-TW TT5s Docket No: 〇6〇8.A41159-TW/FinayRita/2007/〇4/20 10 200809691 '此,可由繪圖管線2〇〇之此階層請求邊框顏色資訊。 該幾何著色器256,將資訊輸出至一三角構圖層257,用以 執行操作’例如:三角瑣碎摒除(triangle trivial rejection)、行列式計算(determinant calculation)、 反面易彳除(culling)、KLMN之屬性設定(pre-attribute setup KLMN)、邊緣函,數計算(6(1诉;^11(:1::1〇11 calculation)、保留頻段剪輯(guarcjband clipping)。任 _ 何所屬技術領域中具有通常知識者應瞭解一三角構圖相位所需之 操作’不需於此進一步闡述。該三角構圖層257,將資訊輸出至 範圍產生器(span generator) /圖磚產生器(tile generator)。此繪圖管線層亦為習知之技術,不需更進一步詳 細說明。 若該三角構圖層257所處理之三角形,並沒有被範圍產生器 /圖磚產生杰258、或其他繪圖管線層所拒絕,則該繪圖管線之 # 屬性設定層執行屬性設定操作。該屬性設定層,產生已知且所需 之内插變數集,以於下一管線層決定。另外,該屬性設定層259, 亦為習知技術之一,用以處理關於繪圖管線所處理幾何圖元之各 種屬性。 §亥像素著色器260,載入由屬性設定層259輸出之圖元所覆 蓋之每一像素。該像素著色器26〇,操作執行内插及其他操作, 用以決定像素顏色,並輸出至一顯示緩衝記憶體2S2。如上所述Clienfs Docket No.: S3U06-0012I00-TW TT5s Docket No: 〇6〇8.A41159-TW/FinayRita/2007/〇4/20 10 200809691 'This, the border color information can be requested by this level of the drawing pipeline 2〇〇. The geometry shader 256 outputs the information to a triangular composition layer 257 for performing operations 'eg, triangle trivial rejection, determinant calculation, culling, KLMN Attribute setting (pre-attribute setup KLMN), edge function, number calculation (6 (1 v; ^11 (:1::1〇11 calculation), guarcjband clipping). Usually the knowledgeer should understand the operation required for a triangular composition phase' without further elaboration. The triangular composition layer 257 outputs information to a span generator/tile generator. The pipeline layer is also a well-known technique and need not be described in further detail. If the triangle processed by the triangular composition layer 257 is not rejected by the range generator/tile generation 258, or other drawing pipeline layer, the drawing The # attribute setting layer of the pipeline performs the attribute setting operation. This attribute sets the layer to generate a set of known and required interpolation variables to be determined at the next pipeline level. In addition, the attribute setting layer 259 is also one of the prior art for processing various attributes related to geometric primitives processed by the drawing pipeline. The hex pixel shader 260 loads the primitives output by the attribute setting layer 259. Each pixel is covered. The pixel shader 26 is operative to perform interpolation and other operations for determining the pixel color and outputting to a display buffer memory 2S2.

Clienfs Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/Final/Rita/20〇7/〇4/2〇 11 200809691 —之頂點著色器254和幾何著色器256,該像素著色器26〇,可由 紋理兀件269要求存取紋理操作或繪圖處理單元2s〇之之—紋理 引擎。因此,該繪圖管線2〇〇於此階層可能需要邊框顏色資訊。 第1圖所說明各元件之操作為熟悉此技術領域者所瞭解,而於此 :不需多加制。因此,這些元件内部之具體實施與操作不需於此 進一步闡述,.以使對於本發明之瞭解更為完全。 上述繪圖管線,通常實現於繪圖處理單元或繪圖處理裝置之 | 巾。目W之繪圖管線通常規範於已發佈之應用程式介面 (application pr〇gramming interface ; 工)、或應用 転式/1面集合,肋將特定需求增加至繪目處 用程式之-非限定例子係為心⑴瓣:。 此應 凊參考第2圖’係顯示習知之—賴處理單元,包括:一紋 理快取記憶體控制器(TCC)120,其中,於邊框顏色模式下,被 配置以儲存ite顏色資料,以供紋理操作讀取。應瞭解績圖處理 ► w中非必要說明之元件,於此省略以易於說明。包含崎圖處 理早兀之電腦緣圖系統,讀圖程式設計師得以 著色器,譬如:幾何荖多哭你本#々 綠之 了者色、像素者色器、頂點著色器、 已矣之技身。由程式設計師關發之此著色器,並至少可少 ==單娜3…來執行。齡意的是,該執= :可包括此進行多重執行緒操作之-處理單元。還 應“,此績圖處理單元包括由綠圖程式設計師開發,具平行執 12 200809691 :Γ:多重著色器。舉例而言’ -像素著色器,可與-幾何著 色盗、及像素著色器之另一事件平成订者 行,可能需要該執行單椒3Q6此—著色器之平行執 框顏色資料之多翻文。 樣紋理資料、以及/或者邊 η :早兀126接收來自於—纷圖處理管線(未顯示)之部Clienfs Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/Final/Rita/20〇7/〇4/2〇11 200809691 —Vertex Shader 254 and Geometry Shader 256, This Pixel Shading The texture device 269 may request access to the texture operation or graphics processing unit 2s - the texture engine. Therefore, the drawing pipeline 2 may require border color information at this level. The operation of the various elements illustrated in Figure 1 is known to those skilled in the art, and there is no need for additional processing. Therefore, the specific implementation and operation of these components need not be further elaborated herein to make the understanding of the present invention more complete. The above drawing pipeline is usually implemented in a drawing processing unit or a drawing processing device. The drawing pipeline of the standard is usually specified in the published application interface (application pr〇gramming interface; work), or application type / 1 surface set, ribs to add specific requirements to the program of the drawing - non-limiting example For the heart (1) flap:. This should refer to FIG. 2, which shows a conventional processing unit, including: a texture cache memory controller (TCC) 120, wherein, in the border color mode, it is configured to store ite color data for Texture operation reads. You should be aware of the components that are not necessary for the description of the pattern processing, and are omitted here for easy explanation. The computer graphics system includes the image processing system, and the reader graphic designer can use the shader, such as: geometry, crying, you, #々绿之色色, pixel color, vertex shader, 矣 矣body. This shader is issued by the programmer and can be executed at least with less == single na 3... The age of the decision is: This can include this multi-thread operation - the processing unit. It should also be "this map processing unit included by the green graphics programmer, with parallel execution 12 200809691 : Γ: multiple shaders. For example - - pixel shader, can be - geometric shader, and pixel shader Another event is flattened, and it may be necessary to execute the single pepper 3Q6. This is the color of the parallel frame color data of the shader. The texture data, and / or the edge η: early 兀 126 received from - Processing pipeline (not shown)

=Γ26 ’於一瓣線執行時,處理某些像素操作。於上述 理單元中’ _ 128為,管線執行資料路捏之一元 件’係顧該預包裝單元126。紋理位址產生器ιΐ8,發送—蚊 理描述符號請求,用以回應於該執行單元㈣3。6中執行著色哭 之溝通。將該請求發送至紋理快取記憶體控制器(tcc) 12〇。; 纹理快取記憶,將敏理描述符贿料輸出至_ 位址產生_叫姐_辭元以處理。由於驗理位址產生 器118之各種實施方式為具有通常知識者所熟知,於此省略該些 元件之進一步說明。 一 .該紋職取記憶體控㈣12。,係包括—紋職取記憶體, 用以快取紐紐’例如:紋_元,及包括肋處理紋理資料 清求之一快取記憶體控制器。該紋理快取記憶體控制器,由 έ己憶體iso讀取所請求之紋理資料,並於該紋理快取記憶體中快 取紋理資料。該紋理快取記憶體控制器UO,將紋理資料,包括 紋理圖元,提供至紋理過濾單元I22,以供紋理處理操作。該紋=Γ26 ′ When processing a lobed line, some pixel operations are handled. In the above-mentioned unit, '_128 is the one of the pipeline execution data pinning', which is the pre-packaging unit 126. The texture address generator ιΐ8 sends a mosquito description symbol request in response to the execution of the coloring crying communication in the execution unit (4) 3.6. The request is sent to the texture cache controller (tcc) 12〇. Texture cache memory, output sensible descriptor bribes to _ address generation _ call sister _ resignation to deal with. Since the various embodiments of the inspection address generator 118 are well known to those of ordinary skill, further description of such elements is omitted herein. 1. The tattoo is taken from the memory control (4) 12. The system includes a memory for the memory, for fast-moving the button, for example, the pattern _ element, and the rib processing texture data to clear one of the memory controllers. The texture cache memory controller reads the requested texture data from the memory and extracts the texture data in the texture cache memory. The texture cache memory controller UO provides texture data, including texture primitives, to the texture filtering unit I22 for texture processing operations. The pattern

Clienf s Docket No.: S3U06-0012I00-TW TT5s Docket No: 〇608-A41159-TW/Final/Rita/2007/04/20 200809691 -理快取記憶體控制器,以紋理圖元格式,將資料,例如一紋 理圮錄,提供至該紋理過濾單元丄22。若請求之資料並未儲存於 絲疏體結構中,則透過記憶體存取單元工52,該紋理快取記 L脸抚制态12〇可由記憶體ls〇存取紋理資料。當該紋理過濾單 元I22明求此貧料進行紋理操作時,該紋理快取記憶體控制器 !2〇,亦讀取儲存於邊框顏色快取記憶體以之邊框顏色資訊, 亚將該邊框顏色資訊提供至該紋理過濾單元工22。當邊框顏色, 齡,框顏色格式儲存於邊框顏色快取記㈣124冑,該紋理過滤 單兀I22 ’更包括一邏輯電路,對透過紋理過濾單元⑵所讀取 之故框顏色’進灯解碼之操作。再者,該紋理過濾單元工Μ,須 將已讀取之邊界轉換至—適#格式,峨行紋理操作。於邊框顏 色模式下,邊框顏色資訊通常包括用以表示顏色之預定義常數, 以供紋理操作。例如:—邊_色他μ位元之職格式表 I ’並儲存於邊框顏色快取記憶體124中,當選擇之紋理圖 齡出⑴,補票時,於模型座標中,該紋理過滤單元122可將Clienf s Docket No.: S3U06-0012I00-TW TT5s Docket No: 〇608-A41159-TW/Final/Rita/2007/04/20 200809691 - The memory controller, in texture primitive format, will be the data, For example, a texture record is provided to the texture filtering unit 丄22. If the requested data is not stored in the silky structure, then the texture access unit 52 is accessed by the memory cache, and the texture data can be accessed by the memory ls. When the texture filtering unit I22 requests the poor material to perform the texture operation, the texture cache memory controller! 2〇 also reads the border color information stored in the border color cache memory, and the border color is Information is provided to the texture filtering unit 22 . When the border color, age, and frame color format are stored in the border color cache (four) 124胄, the texture filtering unit 22I22' further includes a logic circuit for decoding the color of the frame read by the texture filtering unit (2) operating. Furthermore, the texture filtering unit process must convert the read boundary to the - format and perform the texture operation. In the border color mode, the border color information usually includes predefined constants for representing colors for texture operations. For example: - edge _ color his μ bit job format table I ' and stored in the border color cache memory 124, when the selected texture map is aged (1), when the ticket is filled, in the model coordinates, the texture filtering unit 122 Can

框顏色應用至2D或3D模型。 I 習知上,該執行單元集區邮平行執行之多 邊框_訊。因此,邊框顏色快取_ 124 _二= 空間,用以儲存執行單元集區3〇6平行 ^ 「子 框顏色資訊。除此之外,對於可__ 母―者色器所需邊 聰可於緣圖處理單元* 色器而言,於邊框顏色模式下 者 仃、、文理‘作彳能需要多重邊框The box color is applied to the 2D or 3D model. I know that the execution unit collects multiple borders in parallel. Therefore, the border color cache _ 124 _ 2 = space, used to store the execution unit pool 3 〇 6 parallel ^ "sub-frame color information. In addition, for the __ mother - the color required In the edge map processing unit * color, in the border color mode, 仃,,,,,,,,,,,,,

Clients Docket No.: S3U06-0012I00-TW TT,S Docket No: _8-A41159-TW/Fiml/Rita/2()_4/2〇 14 200809691 ‘顏色,而該紋理過遽單元122,於邊框顏色 框顏色應用至__模型。依據紋理過可將不同邊 紋理操作H可格式顿顏色 例如…緣圖處理單元架構可支援多達工 =顏色。 邊框顏色卜因此種 124之!Μ重邊框顏色,且, 被顏色快取記憶體 格式儲存。同時,對7工 色之每—種,需以不同 元支援多重記_內lb之母一著色器而言’ 1會圖處理單 邊框顏色之記憶體124中維持 124 巧甘夕夏坆框顏色之多重内文,A 多重格式儲存。 ^母—故框顏色係以 旦^疋’隨著緣圖處理單元與電腦系統效能提昇,需一更大六 里:_色快取記憶體124,以將邊框_訊儲存於晶片: =框=色快取記憶體。於祕定之實施辦,—_處理單元 可以現有技術平行執行一定數目之著色器;然而,未來之技術, 可大幅提升此能力,f要更多晶片_以儲存邊框顏色。再加 上,通常透過-軟體緣圖應用程式介面⑽工),例如· 加取t職PI ’ 配之—她咖式,_特邊框顏色 貧訊。因此’為能於-邊框顏色模式下進行紋理操作,需以硬體 設備支援,藉錄體驅動程式存取及寫人該雜顏色快取記擔體 124。 邊Clients Docket No.: S3U06-0012I00-TW TT,S Docket No: _8-A41159-TW/Fiml/Rita/2()_4/2〇14 200809691 'Color, and the texture is over the unit 122, in the border color box The color is applied to the __ model. Depending on the texture, different edges can be manipulated. H can be formatted. For example, the edge map processing unit architecture can support up to work = color. The border color is thus kind of 124! The border color is saved and stored in the color cache format. At the same time, for each of the 7 work colors, it is necessary to support multiple records with different elements. _Inside the lb of the mother, a shader is used to process the single-frame color memory 124 to maintain the color of the frame. Multiple contexts, A multiple format storage. ^母—The color of the frame is the same as that of the computer system. As the edge processing unit and the computer system improve, it needs a larger six miles: _ color cache memory 124 to store the frame_message on the chip: = = color cache memory. In the implementation of the secret, the -_ processing unit can perform a certain number of colorizers in parallel with the prior art; however, the technology of the future can greatly enhance this capability, and f more chips are needed to store the border color. In addition, usually through the - software margin application interface (10), for example, · add t job PI ‘with her-style, _ special border color poor news. Therefore, in order to perform the texture operation in the border color mode, it is supported by the hardware device, and the borrowing body driver accesses and writes the heterogeneous color cache carrier 124. side

Client’s Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/FinaI/Rita/20〇7/〇4/2〇 200809691 3。。S注糸,選本發明實施例之一緣圖處理單元 於此省略㈣疋、胃圖處理單元中非必要說明之某些元件, ,於㈣。如上述關於第2目之糊處理單元,於第 圖中,包括一繪圖處理單$ 、 圖程式竹_二 電腦賴系統,能夠提供—繪 著^构開發一™呈之著色器,例如:幾何著色器、像素 者色态、頂點著色器、或A 言 之此^I、b已知之技術。由程式設計師所開發 =者色1’並至少可透過多重可編程執行單域區咖之—來 二。^注意的是’該執行單元集區3Q6,可包括能進行多重 圖;之—處理早元。還應注4 ’_處理單元包括由緣 繪圖處理單元,此一著色哭 圖之 考巳。Q之千仃執行,可能需要該執行 區咖讀取紋理資料、以及/或者邊框顏色資料之多重内文/ 该、、,文理位址產生盗叫’發送—紋理描述符號請求,用以回 應於該執行單壤3Q6 +執行著色器之溝通。該請求被發送至 紋理快取記憶體及紋理快取記憶體控_ (卿伽。該紋理快 取記憶體控彻42。,將歡理描述符號資料輪出至紋理位址產 生器II8或紋理過濾'單元422處理。由於該紋理位址產生器⑽ 之各種實施方式為具有通常知識者所熟知,於此省略該些元件之 進一步說明。 如上所述,紋理快取記憶體控制器(Tcc) 42〇,係包括一蚊理 快取記憶體,_快取紋理賴,例如:紋理圖元,及用以處理Client’s Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/FinaI/Rita/20〇7/〇4/2〇 200809691 3. . In addition, some of the elements of the embodiment of the present invention are omitted. (4) Some components not necessarily described in the stomach map processing unit are omitted here, (4). As described above, the paste processing unit of the second object, in the figure, includes a drawing processing unit $, a graphic program, and a computerized system, which can provide a coloring device, such as a geometry. A technique known as shader, pixel color state, vertex shader, or A. Developed by the programmer = color 1' and at least through the multi-programmable execution of a single domain area. ^ Note that the execution unit pool 3Q6 may include multiple maps; It should also be noted that the 4' processing unit includes the edge mapping processing unit, which is a test of the coloring crying diagram. Q's implementation, it may be necessary for the execution area to read the texture data, and/or the multiple texts of the border color data/the, and the texture address generates the spoofing 'send-texture description symbol request to respond to The implementation of single-leaf 3Q6+ execution shader communication. The request is sent to texture cache memory and texture cache memory control _ (Qing gamma. The texture cache memory control 42., will be happy to describe the symbol data round to texture address generator II8 or texture Filtering is performed by unit 422. Since the various embodiments of the texture address generator (10) are well known to those of ordinary skill, further description of the elements is omitted herein. As described above, the texture cache memory controller (Tcc) 42〇, including a mosquito memory, _ cache texture, such as: texture primitives, and for processing

Clienfs Docket No.: S3U06-0012I00-TW TT5s Docket No: 〇608-A41159-TW/Final/Rita/2007/04/20 16 200809691 紋理資料請求之-快取記憶體控制器。該紐快取滅體控制哭 似,由記憶體讀取所請求之紋理資料,並於該紋理快取記情體 中快取紋理資料。驗理快取記憶體控㈣42◦,將紋理資料, 包括紋理圖s ’提供至紋理過濾單元—,以供紋理處理操作。 該紋理快取記憶體控制器42G,以紋理圖元格式”將資料’例如 一紋理記錄,提供至該紋理過濾單元a2。當所請求之資料並未 儲存於快取記憶體結射,观過記紐存取單元152,該紋理Clienfs Docket No.: S3U06-0012I00-TW TT5s Docket No: 〇608-A41159-TW/Final/Rita/2007/04/20 16 200809691 Texture Data Request - Cache Memory Controller. The new fast-moving body controls the crying, and the requested texture data is read by the memory, and the texture data is cached in the texture cache. The analytic cache memory controller (4) 42 ◦, the texture data, including the texture map s ' is provided to the texture filtering unit, for texture processing operations. The texture cache memory controller 42G provides a texture record, such as a texture record, to the texture filtering unit a2 in a texture primitive format. When the requested data is not stored in the cache memory, the view is viewed. Newton access unit 152, the texture

快取記憶體控制器420可由記憶體1SQ存取紋理資料。 當進行紋理操作時,紋理過濾單元a2需要邊框顏色,而依 據本發明實施例之-纟細處理單元綱,可提供—具效能之邊框 顏色處理祕,㈣改進硬體邏輯閘數目效能。邊框顏色資訊可 儲存於外部記憶體!对,而非如第2圖所示讀圖處理單元專 用快取記紐。邊框顏色暫存器424,咖f邊框顏色資訊儲存 於外部記憶體15Q之位置指標。儲存於邊框顏色暫存器似之指 標,可指定記憶體15G中’絲儲存邊框顏色資訊之基底位址。 如上所述,對於可讀圖處理單元内執行之每—著色器而言,於 邊框顏色模式下’進行紋理操作可㈣好重邊框顏色,而該紋 理過濾單元422,於邊框顏色模式下,可將不同邊框顏色應用至 -緣圖模型。依據紋理過濾單元422執行龜顏色紋理操作之卷 式,可以多重資料格式請求任一既定之邊框顏色。例如··一緣廣 處理單元織紐錢16種之格式(/騎16種_貞色)^The cache memory controller 420 can access texture data from the memory 1SQ. When the texture operation is performed, the texture filtering unit a2 requires a border color, and according to the embodiment of the present invention, a thin processing unit can provide a border color processing secret, and (4) improve the number of hardware logic gates. The border color information can be stored in external memory! Yes, instead of the read-only processing unit dedicated to the cache as shown in Figure 2. The border color register 424 stores the position information of the external memory 15Q. Stored in the border color register like an indicator, you can specify the base address of the silk storage frame color information in the memory 15G. As described above, for each shader executed in the readable image processing unit, the texture operation can be performed in the border color mode (4), and the texture filtering unit 422 can be in the border color mode. Apply different border colors to the -edge graph model. According to the volume filtering operation performed by the texture filtering unit 422, any predetermined border color can be requested in a multiple data format. For example, · 一缘广 Processing unit weaving New Zealand 16 kinds of format (/ riding 16 kinds _ 贞 color) ^

Clients Docket No.: S3U06-0012I00-TW TT5s Docket No: 〇608-A41159-TW/Fina3/Rita/2〇〇7/〇4/2〇 17 200809691 =早—_可請求16種邊框顏色,且該16種邊框顏色之每 =:須以不同格式儲存。同時,對可平行執行之每:著色器 。%圖相單s支援乡重記紐内文, 行之著色器維持邊框顏色之多重内文。而要為了母—可執 因此’當紋理操作於邊框顏色模式而需要邊框顏色時,可將 =顏色資訊齡於外部記憶體15Q中。如—非限定之實施例 ,-營圖處理單元,能夠同時執行—頂點著色器、Clients Docket No.: S3U06-0012I00-TW TT5s Docket No: 〇608-A41159-TW/Fina3/Rita/2〇〇7/〇4/2〇17 200809691=早—_ can request 16 kinds of border colors, and Each of the 16 border colors =: must be stored in a different format. At the same time, each pair can be executed in parallel: the shader. The % picture s supports the township to remember New Haven, and the colorizer maintains the multiple texts of the border color. In order to be parent-supplied, the color information can be aged in the external memory 15Q when the texture is operated in the border color mode and the border color is required. Such as - non-limiting embodiment, - camp processing unit, can be executed simultaneously - vertex shader,

=-像素著色器,並且同時支援每—著色器所需之兩: ",因此透過紋理快取記憶體控制器420,鱗圖處理單元 具備同步儲存、讀取及快取外部記憶體15〇之6組邊框顏色内 文。再者’藉域體驅動程式,邊框顏色可以多重¥料格式儲存 於外細池%中’並消除了紋理快取記憶體控彻42〇與紋 理過遽早7L 422之需求,以將—邊框顏色轉換至—適當資料格 式^供紋理操作。除此之外,該紋理快取記憶體控制器倒可 以-貢料結構快取一已讀取之邊框顏色’與快取已讀取之紋理圖 元δ己錄之架構相似或一致。 该紋理快取記憶體控制H ,可選擇性地朗紋理圖元記 錄格式,謂絲之雜顏色以及目前之雜顏色快取至紋理過 濾單元422。當以紋_元記錄格式,將原始之邊框顏色以及/ 或者目前之邊框顏色快取至紋理過濾單心22時,藉由絲或減 夕兩兀件之需求,纟簡化紋理過遽單元422及紋理快取記憶體控=-pixel shader, and supports both of the two shaders: ", therefore, through the texture cache memory controller 420, the scale processing unit has the ability to simultaneously store, read, and cache external memory. The 6 sets of border color text. In addition, 'by the domain driver, the border color can be stored in the outer pool %" and eliminates the need for texture cache memory 42〇 and texture over 7L 422 to Convert to - appropriate data format ^ for texture operations. In addition, the texture cache memory controller can be similar to or consistent with the structure of the cached texture image that has been read. The texture cache memory control H can selectively sculpt the texture primitive recording format, that is, the miscellaneous color of the silk and the current miscellaneous color cache to the texture filtering unit 422. When the original border color and/or the current border color are cached to the texture filtering single core 22 in the texel recording format, the texture overrunning unit 422 is simplified by the requirement of silk or eclipse Texture cache memory control

Client’s Docket No.: S3U06-0012I00-TW TT’s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 18 200809691 制器42。之硬體邏輯電路,以處理 過濟單元422及外理& &框顏色#錄。該紋理 早及雜理快取記憶體控制器42〇,可選擇性以相同 資料結構,運用一邊框顏色作為一 、 士旦兩敫^ 、、、、、里圖兀記錄。亦同樣消除了 里處理單元之邊框顏色快取記憶體之需求,此因 員色資訊係由外部記憶體15〇儲存與讀取,而非由 邊框顏色記憶體。 · 儘可能鱗-___之岐,儲存射卜部記憶體 之連績疏體_,其中’每—邊框顏色記錄係以咖位元之 間隔儲存,於—非狀之實施例中,為連續之記憶體區塊。而將 每-綱廊魅各種支援之細各式,亦最好儲存於連續纪 憶體區塊中。妓’紋理快取記髓_器伽,可藉由邊框顏 色指標之幫助,由連續區塊中讀取—既定之邊框顏色。該邊框顏 色指標,係儲存於邊框顏色暫存器424中,用以指定連續之記憶 體區塊之絲紐。纽理操作於翁顏色模式時,每—邊框顏 色可以不同格式儲存於外部記憶體中,其中包括(但不限於):、 UINT32、SINT32、_RM8、_舰〇、TO〇RMl6、、 SNORM8、SNORMIO、SNORM16、SNORM24、FP16、及 FP32 關於這些格式之技術細節係為公開,且為此領域中具有通常知識 者所了解。舉例而言’每一格式之基本資訊定義如下: UINT32 . unsigned 32 bits integer ; SINT32 : signed 32 bits integer ;Client's Docket No.: S3U06-0012I00-TW TT’s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 18 200809691 Controller 42. The hardware logic circuit is used to process the temporary unit 422 and the external && The texture early and heterogeneous cache memory controller 42 可 can selectively use the same data structure, using a border color as a record of two, 士, 、, 、, 里图兀. It also eliminates the need for the border color cache memory of the processing unit. This color information is stored and read by the external memory 15 instead of the border color memory. · As far as possible, ____, store the continuation of the memory of the squad, _, where the 'each-frame color record is stored at intervals of café bits. In the non-form example, it is continuous Memory block. It is also best to store the various types of support for each of the corridors in the continuous memory block.妓 'Texture Cache _ _ ga, can be read from the contiguous block with the help of the border color indicator - the specified border color. The border color indicator is stored in the border color register 424 to specify the silk of the continuous memory block. When Nuori operates in the color mode, each border color can be stored in external memory in different formats, including (but not limited to): UINT32, SINT32, _RM8, _ship, TO〇RM16, SNORM8, SNORMIO , SNORM16, SNORM24, FP16, and FP32 The technical details regarding these formats are disclosed and are known to those of ordinary skill in the art. For example, the basic information of each format is defined as follows: UINT32 . unsigned 32 bits integer ; SINT32 : signed 32 bits integer ;

Clients Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 19 200809691 UNORM8 : 8 bits unsigned normalized integer ; UNORMIO : 10 bits unsigned normalized integer ; UNORM16 · 16 bits unsigned normalized integer ; UNORM24 * 24 bits unsigned normalized integer ; SNORM8 ' 8 bits signed1 normalized integer ; SNORMIO -10 bits signed normalized integer ; SNORM16 · 16 bits signed normalized integer ; SNORM24 ^ 24 bits signed normalized integer ; FP16 · 16 bits float point value ; FP3 2 · 32 bits float point value o 如上所述,當每一邊框顏色儲存於一連續記憶體區塊,且該 連續區塊範圍内每一邊框顏色,以不同格式及一致之次序儲存於 連續區塊内時,僅藉由利用由該邊框顏色暫存器424之邊框顏色 指標所指向之基底位址,該紋理快取記憶體控制器4;2〇可讀取— 既定邊框顏色記錄。 如上述所揭露之繪圖處理單元架構,相對於第2圖之繪圖處 理單元而§,因為消除了對於邊框快取記憶體之需求,大幅提升 硬體之邏輯酿目效能。此外,隨著電腦系統與㈣處理單元效 能進步’本發明提供-種邊框顏色處理之方法,因為當―洛圖声 理單元能夠平行執行衫著⑼或域每—著色_需之 内文時,透過將邊框顏色指標增加至邊框顏色暫存器似之^Clients Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 19 200809691 UNORM8 : 8 bits unsigned normalized integer ; UNORMIO : 10 bits unsigned normalized integer ; UNORM16 · 16 SNORM8 ' 8 bits signed1 normalized integer ; SNORM16 - 16 bits signed normalized integer ; SNORM24 ^ 24 bits signed normalized integer ; FP16 · 16 bits float Point value ; FP3 2 · 32 bits float point value o As described above, when each border color is stored in a contiguous memory block, and each border color in the contiguous block range is stored in different formats and in a consistent order. In the contiguous block, the texture cache memory controller 4; 2 readable - the predetermined border color record only by using the base address pointed by the border color indicator of the border color register 424 . The drawing processing unit architecture as disclosed above, relative to the drawing processing unit of Fig. 2, greatly eliminates the need for border cache memory and greatly improves the logical rendering performance of the hardware. In addition, with the advancement of the performance of the computer system and (4) processing unit, the present invention provides a method for color processing of a frame, because when the "Lotus sound unit" can perform the binding (9) or the field-coloring-need text in parallel, By adding the border color indicator to the border color register is like ^

Client’s Docket No.: S3U06-0012I00-TW TT^s Docket No: 〇608-A41159-TW/Final/Rita/20〇7/〇4/2〇 20 200809691 、σ〜成所〜加之邊框顏色處理需求,而非利用更多的邊框顏 色快取記憶體。Client's Docket No.: S3U06-0012I00-TW TT^s Docket No: 〇608-A41159-TW/Final/Rita/20〇7/〇4/2〇20 200809691, σ~成所~ plus border color processing requirements, Instead of using more border color to cache memory.

、麥考第4圖’係顯示邊_色暫存器似及一外部記憶體15〇 之分解示意圖。應瞭解自由記憶體空間427 (a〜f)不需描述為-外部記憶體之所有可使用之自由空間,然而,為清楚及便於說明, 以此描述自由記憶體空間427。上述邊框顏色暫存器424儲存S 筆邊框顏色指標,以供給3個可平行執行著色器,而每一著色器 φ 之2組記憶體内文為:The McCaw 4th image shows an exploded view of the edge-color register and an external memory 15〇. It should be understood that the free memory space 427 (a~f) need not be described as - all available free space of the external memory, however, the free memory space 427 is described for clarity and ease of illustration. The border color register 424 stores the S pen border color indicator to supply three parallel performable shaders, and the two sets of memory in each shader φ are:

Pixel—Shader_l—Pointer、 Pixel_Shader_2_P〇inter > Vertex_Shader_l_p〇inter -Pixel—Shader_l—Pointer, Pixel_Shader_2_P〇inter > Vertex_Shader_l_p〇inter -

Vertex—Shader_2—Pointer、Vertex—Shader_2—Pointer,

Geometry—Shader_l_p〇:[nter、以及 Geometry_Shader_2_P〇inter ° _ 值得注意的是,依據被要求用以支援繪圖處理單元之邊框顏色内 文數目,可採用更多或更少之邊框顏色指標。 舉例來說,使用目前技術之低成本繪圖處理單元可被配置來 支援較少之可平行執行之著色器;因此需要較少之邊框顏色指 標。或者,繪圖處理單元可被配置來支援更多之可平行執行著色 器,而需要較多之邊框顏色指標。應暸解到,當上述邊框顏色暫 存态424支援6組於外部έ己憶體iso之邊框顏色資料内文時,於Geometry—Shader_l_p〇:[nter, and Geometry_Shader_2_P〇inter ° _ It is worth noting that more or fewer border color metrics can be used depending on the number of border color texts that are required to support the graphics processing unit. For example, a low cost graphics processing unit using current technology can be configured to support fewer colorizers that can be executed in parallel; therefore, fewer border color metrics are required. Alternatively, the graphics processing unit can be configured to support more parallel shaders, requiring more border color metrics. It should be understood that when the above-mentioned border color temporary state 424 supports 6 sets of border color data in the external έ 忆 iso iso iso,

Client’s Docket No.: S3U06-0012I00-TW TT^ Docket No; 0608-A41159-TW/Final/Rita/2007/04/20 21 200809691 此時’ 一相處理單元不需6組内文之記㈣空間,ϋ為各種可 平行執行著色n,能夠不用於邊框顏色模式下進行紋理操作。例 如·僅一著色器需要邊框顏色進行紋理操作;因此,僅需儲存一 組邊框顏色資訊之内文於外部記憶體ls〇中。Client's Docket No.: S3U06-0012I00-TW TT^ Docket No; 0608-A41159-TW/Final/Rita/2007/04/20 21 200809691 At this point, the 'one-phase processing unit does not need 6 sets of internal memory (4) space, ϋFor various kinds of coloring n that can be performed in parallel, it is possible to perform texture operations without using the border color mode. For example, only one shader needs a border color for texture operations; therefore, only one set of border color information is stored in the external memory ls〇.

當於邊框顏色模式下進行紋理操作時,透過一軟體驅動程 式,可將邊框顏色資訊儲存於連續記憶體區塊425 (a〜d)。每一 連續記憶體區塊425可儲存對應於—可執行著色器之16種邊框 顏色。進-步,每一邊框顏色以12種不同資料格式儲存,以供紋 理快取€憶體控制H與紋理過鮮元讀取與使用。每—邊框顏色 可以下列格式於儲存外部記憶體,其中包括(但不限於)·· UINT32 > SINT32 ^ IMorms > UNORM10 > UN0RM16 > UN0RM24 > SN0RM8、SNORM10、SN〇RM16、SN〇RM24、Fpi6、及即32。 每一邊框顏色亦可以上述U種格式連續儲存。 另卜為改二存取此力,母一邊框顏色格式可以位元之 門Ik儲存細’而注意此間隔會隨著外部記憶體所使用之變動 定址結構,以及/或者記憶體區塊大小而改變。每-連續記憶體 區塊425可儲存於外部記憶M lso之不同位置,目而於不同連續 記憶體區塊425之間產生自由記憶體空間427。應注意到,自由 。己Lfe工間427不需為未使用或空置的,因為繪圖處理單元可將 自由記憶體㈣427用於其他目的。且上述用於每一連續記憶體 區塊425之排列結構,亦可根據本發明而加以變化。When the texture operation is performed in the border color mode, the border color information can be stored in the contiguous memory block 425 (a to d) through a software driver. Each contiguous memory block 425 can store 16 border colors corresponding to the executable shaders. Step-by-step, each border color is stored in 12 different data formats for texture retrieval, memory control, and texture over-reading. Each border color can be stored in external memory in the following format, including (but not limited to) UINT32 > SINT32 ^ IMorms > UNORM10 > UN0RM16 > UN0RM24 > SN0RM8, SNORM10, SN〇RM16, SN〇RM24 , Fpi6, and 32. Each border color can also be continuously stored in the above U format. In addition, in order to change the access force, the parent border color format can store the fineness of the bit gate Ik and note that the interval will vary with the location structure of the external memory and/or the size of the memory block. change. Each of the contiguous memory blocks 425 can be stored at different locations of the external memory M lso , with the result that a free memory space 427 is created between the different contiguous memory blocks 425 . It should be noted that freedom. The Lfe workstation 427 need not be unused or vacant because the graphics processing unit can use the free memory (4) 427 for other purposes. The above-described arrangement for each contiguous memory block 425 can also be varied in accordance with the present invention.

Clients Docket No.: S3U06-0012I00-TW m Docket N ㈣ 608-A41159_TW/Fina_a/2_〇4/2〇 22 200809691 上述每-邊框顏色指標,指定— 續儲存於外部記憶體15Q之個 色425,亚且指向連 體控侧取-邊_色指標,對驗理快取記憶 時所要求軸I,峨理處理操作 之-既_,腕。如上所述广二喊取紋理處理操作所需 —基底位: :?:=,紋理快取__可讀二 二細康-切妓之記憶體與排列結構,邊框顏色資料可 以既疋順序儲存於外部記憶體150中。 參考第5圖,係顯示依據本發明實施例之—方法流程圖5〇〇。 在步驟咖,將邊框彥頁色資料儲存於一外部記憶體中。如上所述, 邊框純資料,對應於—賴處理單元所執行之—著色器,可儲 ^於連續記憶體區塊,用以提供更有效率地讀取。當於邊框顏色 核式中進行紋理操作時,邊框顏色資訊可儲存於外部記憶體。而 透過-軟體驅絲式及—軟體賴_程式介面之搭配,例如: Direct3D@API,便可將邊框顏色資訊儲存於外部記憶體。 在步驟5〇4,儲存於一邊框顏色暫存器之一邊框顏色指標, 指定記憶體之一基底位址,用以對應記憶體中邊框顏色資訊之位 置。參考上述之實施例,此一邊框顏色指標允許紋理操作自外部 記憶體讀取邊框顏色資訊。在步驟5〇6,接收一邊框顏色之要求。 在步驟508,轉定邊框顏色資訊之基地位址,其由儲存於邊框彥員Clients Docket No.: S3U06-0012I00-TW m Docket N (4) 608-A41159_TW/Fina_a/2_〇4/2〇22 200809691 The above-mentioned border color indicator, specified - continued to be stored in the external memory 15Q color 425, Sub-and the pointing body side-to-edge _ color index, the axis I required for the test cache memory, the processing operation - both _, wrist. As mentioned above, the second is called the texture processing operation - the base position: :?:=, the texture cache __ readable two-two fine-cut memory and arrangement structure, the border color data can be stored in the order In the external memory 150. Referring to Figure 5, there is shown a flow chart 5 of a method in accordance with an embodiment of the present invention. In the step coffee, the border page color data is stored in an external memory. As described above, the border pure data, corresponding to the shader executed by the processing unit, can be stored in the contiguous memory block to provide more efficient reading. When the texture operation is performed in the border color kernel, the border color information can be stored in the external memory. The color information of the border can be stored in the external memory through the combination of the software-driven and the software-based interface, such as Direct3D@API. In step 5〇4, a border color indicator stored in a border color register is specified, and one of the base addresses of the memory is used to correspond to the position of the color information of the border in the memory. Referring to the above embodiment, the border color indicator allows the texture operation to read the border color information from the external memory. In step 5〇6, a request for a border color is received. In step 508, the base address of the border color information is returned, which is stored in the border

Clients Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 23 200809691 .繼嫩。_ 5i。,細邊框顏色 外良丄 隹貝州口式項取所要求之邊框顏色。 ^顏色亦观於一快取記億體’例如:_紋理快取記億體, 以透過-贿絲記麵㈣輯_雜触。在步驟⑴, 该邊框可以-紋_元記錄格式傳送至—紋理過 第5社細關_雜本發騎揭露方权—示範實施 歹^ W爾,.第5 _敘述之方法,如同本發明之其他實 ► ㈣彻硬體、軟體、她、或者—組合方式加以實施、。 於貝關中,該方法續觸赠實現,並儲存於記憶體中, 且^一適當之指令執行系統加以執行。於另一實施例中,則以 硬體貫現,該方法能以下列任—已知之技術或其組合加 一離散式邏輯電路,且古扭换-欠η 凡· ,、雜據胃舰.實賴輯功能之邏輯 間,一專用集成電路(如〇,具有適當之邏輯閉組合; 邏輯咖㈣…場效可編程邏輯__Α),整合2 圖處理單元元件等。 、、力 任何對於本翻具有通常知識者應該瞭解,流· 序說明或方塊,_以絲硬_輯電路、嵌人式電路= 組、區段、或部份程式碼,包括用以實現特定邏輯功能之異 =執储料程叙步驟,其财財式亦於本發明= 貝知例之濟内,各功能可不依照如圖所示或討論之順序,^ 同時或以相反之順序,係根據所需之功能。 c括Clients Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 23 200809691 . _ 5i. , fine border color, outside Liangzhu 隹 Bay State mouth item to take the required border color. ^ Color is also viewed in a fast-tracking billion body. For example: _ texture fast-moving billions of body, to pass through - bribe silk (4) series _ miscellaneous touch. In the step (1), the frame can be transmitted to the texture-pattern recording format, and the method of the fifth embodiment is as described in the present invention. Others ► (4) Implemented in hardware, software, her, or in combination. In Yu Beiguan, the method continues to be implemented in the memory and stored in the memory, and an appropriate instruction execution system is executed. In another embodiment, the method is implemented in a hard body, and the method can add a discrete logic circuit by any of the following techniques, or a combination thereof, and the ancient twist-change-negative, and the gastroin. Between the logic of the function, an ASIC (such as 〇, with appropriate logical closed combination; logic coffee (four) ... field effect programmable logic __ Α), integrated 2 figure processing unit components. Any force that has a general knowledge of this turn should be understood, stream descriptions or blocks, _ _ _ _ circuit, embedded circuit = group, section, or part of the code, including to achieve specific Logic function difference = the storage process step, the financial formula is also in the invention = the knowledge of the case, the functions may not follow the order shown or discussed, ^ simultaneously or in reverse order, According to the required function. c

ClienVs Docket No.: S3U06-0〇12I〇〇.TW TT’s Docket No: 0608-A41Tw/rr, i59>TW/Final/Rita/2〇〇7/〇4/2〇 24 200809691 而強口周上,:4本發明之實施例,僅為實施方法之可能範例,提 出僅僅為了對本發财法有清楚之瞭解。在不違雜本發明之精 神與原理下’上述本發明之實施例可作許多_和修改。這些所 有义動與知改包含於本發明之範細,且受後附之專利申請範 所保護。 t 舉例來說,根據所提供之細,熟悉此技術領域者應當瞭解, 實施例之緣圖處理單元包括一邊框顏色暫存器、一紋理快取記情 • 體、—紋理快取記憶體控繼、及-紋理過濾單元。於-些實施 例中,該邊框顏色暫存H儲存至少—邊框顏色指標,該至少—邊 框顏色指標指向邊框顏色資訊於外部記憶體之位置,而邊框顏色 貧訊儲存在外部記憶體内,且當紋理過滤單元請求一邊框顏色以 供紋理貼圖操作,由紋理快取記憶體控制器讀取。 於本發明之實施例中,該邊框顏色暫存器至少儲存-邊框顏 色指標’以供可鱗圖處理單元執行之每—著色器事件,而外部 • j憶體可被配置用來儲存至少16種邊框顏色,以供可由綠圖處理 早兀執行之每-著色器事件。該些至少16種邊框顏色,能夠以任 何複數之格式儲存,且進一步地以工28位元之間隔排列於外部記 憶體中。 σ 於其他實施例中,該紋理快取記憶體控制器可被配置,用以 代表紋理過濾單元由外部記憶體讀取一邊框顏色,其中,透過邊 框顏色暫存H之指標所躺之—基底紐,而剩外部記憶體之ClienVs Docket No.: S3U06-0〇12I〇〇.TW TT's Docket No: 0608-A41Tw/rr, i59>TW/Final/Rita/2〇〇7/〇4/2〇24 200809691 On the strong mouth, The embodiment of the present invention is merely a possible example of the implementation method, and is merely for the purpose of clearly understanding the present financing method. Without departing from the spirit and principles of the invention, the embodiments of the invention described above may be modified. All such acts and modifications are included in the scope of the present invention and are protected by the appended patent application. For example, according to the details provided, those skilled in the art should understand that the image processing unit of the embodiment includes a border color register, a texture cache, a body, and a texture cache memory control. Following, and - texture filtering unit. In some embodiments, the border color temporary storage H stores at least a border color indicator, the at least—the border color indicator points to the position of the border color information in the external memory, and the border color information is stored in the external memory, and When the texture filtering unit requests a border color for the texture mapping operation, it is read by the texture cache memory controller. In an embodiment of the invention, the border color register stores at least a -border color indicator 'for each shader event executed by the scaleable processing unit, and the external j-memory can be configured to store at least 16 A border color for each-shader event that can be executed early by the green map. The at least 16 border colors can be stored in any of a plurality of formats and further arranged in an external memory at intervals of 28 bits. In other embodiments, the texture cache memory controller can be configured to read a border color from the external memory on behalf of the texture filtering unit, wherein the indicator is temporarily placed through the border color H - the base New, but left external memory

Clienfs Docket No,: S3U06-0012I00-TW TT5s Docket No: 〇608-A41159-TW/Final/Rita/2007/04/20 25 200809691 可_@/4例中,於邊框顏色操作時,該紋理快取記憶體 1被配置用以代表紋理過濾單元,以該等格式其中之_,择取 ==。於其他實施例中,該紋理快取記憶體可被配置,貝用以 此每靖仏體所讀取之邊框顏嶋至紋理快取記憶體。於― 1 d中,理快取記憶體控制器可被配置,將邊框顏 ==目細㈣跑編瓣&,崎行邊框顏 ㈣。於其他實_巾,當—紋職址產生Clienfs Docket No,: S3U06-0012I00-TW TT5s Docket No: 〇608-A41159-TW/Final/Rita/2007/04/20 25 200809691 In _@/4 cases, the texture cache is used when the border color is operated. The memory 1 is configured to represent the texture filtering unit, and in the format _, select ==. In other embodiments, the texture cache memory can be configured to be used to read the borders of the textures to the texture cache memory. In ―1 d, the memory controller can be configured to set the border color == mesh (4) to run the flap & In other real _ towel, when the - grain address is generated

出相對於紋理滹鏡罩开所卢神+ h 位址起 早70所處理之—紋理之範_,_紋理快取 疏體控㈣被配置由外部記憶體讀取—邊框顏色。 與本發明之其他實施例一致,一種用以處理邊框顏色資訊之 /,翁法之步驟包括··將複數之邊框顏色儲接—外部記情 將該等邊框顏色之外部記憶體位置儲存於_邊框顏色暫存 …由D亥外‘己憶體讀取該等邊框顏色記錄其中之單一記錄;以 一_祕_單—記錄儲雜—紋理快取記憶體,·以及於 紋理貼圖操作f要邊框顏色#訊時,將單—記錄格式之紋理圖元 吕己錄提供給一紋理過濾單元。 於某些實_巾,縣等邊框顏色齡餅部記㈣之步驟 由=軟體驅触式執行。儲存至外部記顏之步驟,更包括··將 轉邊框顏色之每—邊框顏色轉換至複數之資料格式,·以及將該 ㈣框顏色m轉㈣格式齡餅部記麵。轉換操作可將 每一邊框顏色觀為至少12種資料格式。於外部記憶體中,該轉 26 200809691 -換操作亦以128位元之咖,將每—邊_ 於一些實施例中,該儲存至外部記憶體之^ 己fe體。 一_處理單元可執行之每—著色器假少广=包括:對於 至外部記憶體中。於一些實施例中,更進十^重邊框齡齡 框顏色指標儲存至邊框顏色暫存器,該至少_、真將至少故 兮笙、真4 ± · μ 夕邊框顏色指標指向 寻故框腕儲細料記㈣⑽i。· „ 平行執行之每-耗㈣言,於—& ^相處理皁元可 一邊框顏色指標。 中,更包括儲存至少 1他實崎’―_處理單元,包括:―邊框顏色暫存 過嘑輩m ^脉战體控制II,以及-紋理 -’ ”中’该邊框顏色暫存器儲存至少—邊 該至少一邊框顏色指椤 憶體位址,·且其中,^理伊重邊框顏色所在之—外部記 、°己思體控制器可被配置,將該16 ^ 紋理圖元記錄格式提供至該紋理過濾單元,以進 ^顏色之操作;該紋理快取記憶體控制器,可被配置用以將 外部战體所讀取之邊框顏色館存至紋理快取記憶體,·該纹理 快取战體㈣H ’亦被配置用以代表驗理過鮮元,由★亥外 部、,體之-基底位址讀取一邊框顏色,該基底位址係由儲存於 5亥邊框顏色暫存器之一指標所;4 於外部記憶體中,而當該紋理_單=1種邊框顏色儲存 慮早70需要一邊框顏色進行纹理 貼圖操作時’由紋理快取記憶體控制器讀取;以及,以複數之格Compared with the texture 滹 罩 所 + + + h h h + + + + + h h h h h h h h h h h h h h h h h h h h h h h h h 70 70 70 70 纹理 纹理 纹理 纹理 纹理Consistent with other embodiments of the present invention, a method for processing the color information of the frame, the steps of the method include: storing the color of the plurality of borders - externally remembering the location of the external memory of the border color in the _ The color of the border is temporarily stored... The single record of the border color is recorded by the D-Hui's memory; the _ secret_single-recording storage-texture memory, and the texture mapping operation f The border color ##, the texture element of the single-record format is provided to a texture filtering unit. In some cases, the steps of the border color section (4) are executed by the software drive. The step of storing to the external recording, further includes: converting the color of each of the border colors to the data format of the plural, and translating the color of the (4) frame into the (4) format cake section. The conversion operation can view each border color as at least 12 data formats. In the external memory, the transfer 26 200809691 - the change operation is also 128-bit coffee, each side - in some embodiments, the storage to the external memory. A _ processing unit can perform every - shader false total = including: for external memory. In some embodiments, the color indicator of the aging frame age is stored in the border color register, and the at least _, true will at least 兮笙, true 4 ± · μ 夕 border color indicator points to the finder frame wrist Store fines (4) (10) i. · „ Parallel execution of each-consumption (four) words, in the -& ^ phase processing soap element can be a border color indicator. In the middle, including storing at least 1 his Shisaki '-_ processing unit, including: - border color temporarily stored The m ^ 脉 体 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的 的The external record, the hex controller can be configured to provide the 16^ texture primitive record format to the texture filter unit for color operation; the texture cache memory controller can be configured It is used to store the color of the border read by the external warfare to the texture cache memory. The texture cache body (4) H' is also configured to represent the fresh elements, from the outside of the sea, - the base address reads a border color, the base address is stored in one of the 5 hai border color register indicators; 4 in the external memory, and when the texture _ single = 1 border color storage Early 70 needs a border color for texture mapping operation The cache memory controller reads; and to a plurality of the grid

Clienfs Docket No.: S3U06-0012I00-TW TT5s Docket No: 〇608-A41159-TW/FinaI/Rita/20〇7/〇4/2〇 27 200809691 式,將該至少is種邊框顏色以 體之中。 I28位元之間隔排歹彳於外部記慎 雖然本發批讀佳實施例賊如上,然其並翻以限定本 發明’任何所屬技術領域中具有通常知識者,在不脫離本發明之 精神和範_,當可㈣較動與_,目此本發日狀保護範圍 當視後附之申請專利範圍所界定者為準。 :Clienfs Docket No.: S3U06-0012I00-TW TT5s Docket No: 〇608-A41159-TW/FinaI/Rita/20〇7/〇4/2〇 27 200809691, the at least is border color is in the body. The spacing of the I28 bits is excluded from the external caution. Although the thief of the preferred embodiment is as described above, it is intended to limit the present invention to those of ordinary skill in the art without departing from the spirit and scope of the present invention. _, when (4) is more dynamic and _, the scope of this daily protection is subject to the definition of the patent application scope attached. :

Clienfs Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 200809691 【圖式簡單說明】 f1圖係朗i辭線之元件方塊圖 第2圖係顯示—續圖處理單元及其特定 圖;. ' 内部元件之功能方塊Clienfs Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 200809691 [Simple diagram of the diagram] Figure 1 of the component diagram of the f1 diagram Display - Continuation of the processing unit and its specific map; .

弟3圖係顯τρ本發明每 5只鉍例之一繪圖處理 能方塊圖; I 弟4圖係顯示本發明餘 明只轭例之一繪圖處理 解示意圖; 元之執行單元功 元之特定元件分 第5圖係顯示本發 【主要元件符號說明】 明貫施例之一方法流程圖 3〇0〜、♦圖處理I分· 早兀, 15〇〜記憶體; 3〇6〜夕重可編程執行單元集區;The figure 3 shows that each of the five examples of the present invention is a drawing processing energy block diagram; the first drawing of the present invention shows a schematic diagram of one of the yoke examples of the present invention; The fifth picture shows the present [main component symbol description] One of the methods of the implementation of the flow chart 3〇0~, ♦ Figure processing I minutes · early 兀, 15 〇 ~ memory; 3 〇 6 ~ 夕重Programming execution unit pool;

工26〜預包裝單元; 13〇〜包裝單元; I22〜紋理過濾單元; 424〜邊框顏色暫存器; 120〜紋理快取記憶體控制器 124〜邊框顏色快取記憶體; 128〜内插器; 118〜紋理位址產生器; 420〜紋理快取記憶體控制器; 152〜記憶體存取單元; 200〜繪圖管線; 25〇〜繪圖處理單元; 265、267、及269〜紋理元件; 252〜命令流處理器; 254〜頂點著色界;26 ~ pre-packaging unit; 13 〇 ~ packaging unit; I22 ~ texture filtering unit; 424 ~ border color register; 120 ~ texture cache memory controller 124 ~ border color cache memory; 128 ~ interpolator 118~ texture address generator; 420~ texture cache memory controller; 152~memory access unit; 200~ drawing pipeline; 25〇~ graphics processing unit; 265, 267, and 269~ texture elements; ~ command stream processor; 254 ~ vertex shader;

Clienfs Docket No.: S3U06-0012I00-TW TT's Docket No: 0608-A41159-TW/FinaI/Rita/2007/04/20 29 200809691 - 256〜幾何著色器; 257〜三角構圖層; 258~範圍產生器/圖磚產生器; 25 9〜屬性設定層; 260〜像素著色器; 262〜顯示緩衝記憶體; 425a-425d〜連續記憶體區塊; , 427a-427f~自由記憶體空間; 502、5〇4、506、…、及514〜操作步驟。Clienfs Docket No.: S3U06-0012I00-TW TT's Docket No: 0608-A41159-TW/FinaI/Rita/2007/04/20 29 200809691 - 256~ geometry shader; 257~ triangle composition layer; 258~ range generator/ Brick generator; 25 9~ attribute setting layer; 260~pixel shader; 262~ display buffer memory; 425a-425d~ contiguous memory block; , 427a-427f~ free memory space; 502, 5〇4 , 506, ..., and 514~ operation steps.

Clienf s Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/Fmal/Rita/2007/04/20Clienf s Docket No.: S3U06-0012I00-TW TT5s Docket No: 0608-A41159-TW/Fmal/Rita/2007/04/20

Claims (1)

200809691 十、申請專利範圍: 1· 一種繪圖處理單元,包括: 一邊框顏色暫存器; 一紋理快取記憶體; 一紋理快取記憶體控制器;及 一紋理過濾單元; 其中’該邊框顏色暫存界儲左200809691 X. Patent application scope: 1. A drawing processing unit, comprising: a border color register; a texture cache memory; a texture cache memory controller; and a texture filtering unit; wherein 'the border color Temporary storage left 係用以指爾邊輸顏色指標 卜4圮憶體位址;以及 其中’姉__爾存於 元需要一絲齡、_ 卜°卩疏體中’當敵理過濾單 器讀取 '、仃、’5貼圖知作時’透過該紋理快取記憶體控制 給2.辦請翻細第1項所述之键理單元,其中,對於可由 邊框顏色補。^檐腕伽齡至少-It is used to refer to the color index of the side of the side, and the location of the body; and where the '姊__ is stored in the Yuan requires a trace of age, _ 卜 卩 卩 卩 当 当 when the enemy filter single device reads ', 仃, When the '5 texture is known, 'through the texture cache memory control 2. Please refine the key unit described in item 1, where the color can be complemented by the border. ^檐 wrist gamma at least - 侧撕,射,由_處 理單元執行之每一著色器事件,該外部記 之邊框顏色 f思體係被配置用以儲存複數 如申料利綱第!項職之_處理單元,其巾,該外部記 體係被配置以複數之格式儲存每一邊框顏色。 5,如申請專利細第4項所述之緣圖處理單元,,以 式儲存之邊框顏色,係以-既定之間隔排列於外部記憶體中。μ… Pjenfs Docket No.: S3U06-0012I00-TW S D〇cket No: 0608-A41159-TW/Final/Rita/2007/〇4/2〇 31 200809691 二如中請專繼圍第!卿述之賴處理單元,其中 取記憶體控彻傭配置肋編级、…、 之一吴麻#u j 夂早70,由該外部記憶體 取之一邊框顏色’該基底位址係由 暫存态之一指標所指定。 7·如申鞠_第!彻述讀圖處理單元 取記憶物m被配置用以代表該紋理過濾私,以該等格謝 之,頃取一邊框顏色進行邊框顏色操作。 8 ·如申請專利細第!項騎之顧處琴元,其巾 =2制糧配置_存由該紋理快取繼之外部記憶體 所項取之邊框顏色資訊。 9. 如申請翻範圍第丄項所述之緣圖處理單元,其中,該纹理快 取記崎制器係被配置’將邊框顏色資訊以—紋理圖元記錄格式提 供至雜理過濾單元,崎行雜顏色之操作。 10. 如申請專利麵第巧所述之_處理單元,其中,當一 紋理位址產生器產生一位址超出相對於紋理滤鏡單元所處理之一咬理 之範圍時,職蝴棘記髓控繼被配置猶外部纖 框顏色。 U·如申請專利細第!項所述之細處理單元,其_,該邊 框顏色暫存H齡魏之雜純赌,肋平行讀取複數之著色界 所需之邊框顏色資訊。 ^ 12. 一 種處理邊框顏色資訊之方法,該方法包括下列步』 Ciienfs Docket No.: S3U06-0012I00.TW 〇c et No. 0608-A41159-TW/Final/Rita/2007/04/20 32 200809691 f 顏色至—外部記憶體; 於該外部記憶體中,將該等邊框顏色之位置儲存至一邊框顏色暫 存器; ' 由。亥外化憶體棘鱗邊框顏色記錄之—單一記錄; 以紋理圖兀記錄格式,將該單一記錄儲赫一紋理快取記憶 體,·以及Side tearing, shooting, each shader event executed by the _ processing unit, the external note border color f system is configured to store the plural as stated in the application! The _ processing unit of the job, the towel, the external note system is configured to store each border color in a plural format. 5. If the edge map processing unit described in the fourth paragraph of the patent application is used, the border color stored in the format is arranged in the external memory at a predetermined interval. μ... Pjenfs Docket No.: S3U06-0012I00-TW S D〇cket No: 0608-A41159-TW/Final/Rita/2007/〇4/2〇 31 200809691 Please wait for the second! The processing unit of the clarification, in which the memory is controlled by the arranging ribs, ..., one of the Wu Ma #uj 夂 early 70, the border color of the external memory is taken 'the base address is temporarily stored One of the indicators specified by the state. 7·如申鞠_第! The read-reading processing unit takes the memory m to be configured to represent the texture filtering privately, and in this way, a border color is taken for the border color operation. 8 · If you apply for a patent fine! The item of the rider is at the piano element, and the towel = 2 grain configuration _ saves the texture information of the border taken by the texture memory and the external memory. 9. The application for the edge map processing unit described in the above paragraph, wherein the texture cache is configured to provide the border color information to the texture filtering unit in a texture primitive recording format, The operation of the color. 10. The processing unit as described in the patent application, wherein when a texture address generator generates a bit address that is beyond a range of ones processed by the texture filter unit, The control is configured to be the outer fiber frame color. U. If you apply for a patent! The fine processing unit described in the item, _, the color of the side frame temporarily stores the gambling of the age of Wei, and the ribs read the color of the border color required for the color boundary of the plural. ^ 12. A method for processing border color information, the method includes the following steps: Ciienfs Docket No.: S3U06-0012I00.TW 〇c et No. 0608-A41159-TW/Final/Rita/2007/04/20 32 200809691 f Color to - external memory; in the external memory, the position of the border color is stored to a border color register; 'by. The color record of the outer scale of the rattle scale is a single record; in the texture map recording format, the single record is stored in a texture cache memory, and ”對於、、文理貼伽乍所需之邊框顏色資訊,將紋理圖元記錄格式之 邊單一記錄提供至一紋理過濾單元。 13 ^如申請專利範圍第丄2項所述之處理邊框顏色資訊之方法, -中’儲存至該外部記憶體之步驟,進一步包括·· _卿嫩㈣峨,纖_顏色以該 寻貝料格式儲存於該外部記憶體。 i ”__第12獅叙纽雜顏㈣歡方法, ’、’儲存至該外部記憶體之步驟,進一步包括·· 對於可由緣圖處理單元執行之每一著色器 至該外部記憶體。 15 ·如幘翻細第12聊猶之處理龜顏锋訊之 更包括以下步驟: ’ 產生—位址,係超出相對於紋理濾鏡單元所處理之_紋理之範圍 16.如申請專利範圍第η項所述之處理邊框顏色資訊之方法 其中’轉換每一邊框顏色之步驛,進一步包括: TT^Docket^ 200809691 部記=部記憶體中之每—邊框顏色,以一既定之間隔湖於該外 貝色储存於耕部記憶體之-值置。 : 18.如申請專利範圍第12j首张、+、 ^ 更包括以下麵: 、^之處理邊_色資訊之方法, 指標 對於由該_處理單元平行執行之每. 著色益’館存一邊框顏色 19'如申請專利範圍第12項所诚少老 其甲,將每-娜式务^咖親資訊之方法, 區塊中。 =子於5亥外部記憶體之連續For the border color information required by the text and texture, the single record of the edge of the texture primitive recording format is provided to a texture filtering unit. 13 ^ The processing of the border color information as described in item 2 of the patent application scope Method, - the step of 'storing to the external memory, further including ·· _ Qing Nen (four) 峨, the fiber _ color is stored in the external memory in the scallop format. i ”_第12狮叙纽杂The method of storing the image to the external memory further includes: for each shader executable by the edge map processing unit to the external memory. 15 · 帻 帻 第 第 第 第 第 第 第 第 处理 处理 处理 处理 处理 处理 龟 处理 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟 龟The method for processing the border color information according to the item η, wherein the step of converting each border color further includes: TT^Docket^ 200809691 Part of the memory of the part memory - the border color, at a predetermined interval The outer shell color is stored in the value of the cultivating part memory. : 18. If the first paragraph of the patent application scope is 12j, +, ^, the method of processing the edge _ color information is as follows: , and the indicator is for each border of the coloring benefit of the _ processing unit. The color 19', as in the 12th item of the patent application scope, is less than the old one, and will be used in the block method of the information. = sub-continuation of 5 hai external memory Clienfs Docket No.: S3U06-0012I00-TW TT’s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 34Clienfs Docket No.: S3U06-0012I00-TW TT’s Docket No: 0608-A41159-TW/Final/Rita/2007/04/20 34
TW096122072A 2006-06-20 2007-06-20 A graphics processing unit and a method of processing border color information TWI395152B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US81505306P 2006-06-20 2006-06-20

Publications (2)

Publication Number Publication Date
TW200809691A true TW200809691A (en) 2008-02-16
TWI395152B TWI395152B (en) 2013-05-01

Family

ID=39022707

Family Applications (3)

Application Number Title Priority Date Filing Date
TW096122026A TWI341976B (en) 2006-06-20 2007-06-20 Systems and methods for performing a bank swizzle operation to reduce bank collisions
TW096122072A TWI395152B (en) 2006-06-20 2007-06-20 A graphics processing unit and a method of processing border color information
TW096122024A TWI367455B (en) 2006-06-20 2007-06-20 Systems and methods for storing texture map data

Family Applications Before (1)

Application Number Title Priority Date Filing Date
TW096122026A TWI341976B (en) 2006-06-20 2007-06-20 Systems and methods for performing a bank swizzle operation to reduce bank collisions

Family Applications After (1)

Application Number Title Priority Date Filing Date
TW096122024A TWI367455B (en) 2006-06-20 2007-06-20 Systems and methods for storing texture map data

Country Status (2)

Country Link
CN (3) CN101145239A (en)
TW (3) TWI341976B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI423161B (en) * 2008-11-06 2014-01-11 Via Tech Inc Graphics processing units, metacommand processing systems and metacommand executing methods

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI474280B (en) * 2010-04-21 2015-02-21 Via Tech Inc System and method for improving throughput of a graphics processing unit
US9230517B2 (en) 2012-05-31 2016-01-05 Microsoft Technology Licensing, Llc Virtual surface gutters
TW201626218A (en) * 2014-09-16 2016-07-16 輝達公司 Techniques for passing dependencies in an API
CN106611401B (en) 2015-10-22 2020-12-25 阿里巴巴集团控股有限公司 Method and device for storing image in texture memory
CN112381715B (en) * 2020-11-16 2024-04-09 航天科工(北京)空间信息应用股份有限公司 Method and device for parallel generation of map tiles by mass remote sensing images

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5765182A (en) * 1995-04-13 1998-06-09 Lsi Logic Corporation Interleaving memory on separate boards
US5828382A (en) * 1996-08-02 1998-10-27 Cirrus Logic, Inc. Apparatus for dynamic XY tiled texture caching
AU5686199A (en) * 1998-08-20 2000-03-14 Apple Computer, Inc. Deferred shading graphics pipeline processor
US6300953B1 (en) * 1998-10-15 2001-10-09 Nvidia Apparatus and method for grouping texture cache requests
US6266733B1 (en) * 1998-11-12 2001-07-24 Terarecon, Inc Two-level mini-block storage system for volume data sets
US7050063B1 (en) * 1999-02-11 2006-05-23 Intel Corporation 3-D rendering texture caching scheme
US6650333B1 (en) * 1999-06-09 2003-11-18 3Dlabs Inc., Ltd. Multi-pool texture memory management
US6825848B1 (en) * 1999-09-17 2004-11-30 S3 Graphics Co., Ltd. Synchronized two-level graphics processing cache
WO2003065308A2 (en) * 2002-02-01 2003-08-07 Koninklijke Philips Electronics N.V. Stepless 3d texture mapping in computer graphics
TWI249144B (en) * 2003-02-21 2006-02-11 Via Tech Inc Single level MIP filtering algorithm for anisotropic texturing
US7053904B1 (en) * 2003-12-15 2006-05-30 Nvidia Corporation Position conflict detection and avoidance in a programmable graphics processor
CN1273940C (en) * 2004-04-12 2006-09-06 浙江大学 Fast drawing forest method of graded hierarchical assembling depth paste-up atlas

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI423161B (en) * 2008-11-06 2014-01-11 Via Tech Inc Graphics processing units, metacommand processing systems and metacommand executing methods

Also Published As

Publication number Publication date
CN101122997A (en) 2008-02-13
CN100578542C (en) 2010-01-06
CN101145239A (en) 2008-03-19
TWI395152B (en) 2013-05-01
CN101114376A (en) 2008-01-30
TWI367455B (en) 2012-07-01
TW200821988A (en) 2008-05-16
TW200819987A (en) 2008-05-01
CN101114376B (en) 2010-06-23
TWI341976B (en) 2011-05-11

Similar Documents

Publication Publication Date Title
US20220138286A1 (en) Graphics security with synergistic encryption, content-based and resource management technology
US11017589B2 (en) Untransformed display lists in a tile based rendering system
KR102338831B1 (en) Multi-space rendering with configurable transformation parameters
Bittner et al. Coherent hierarchical culling: Hardware occlusion queries made useful
CN103793893B (en) Primitive rearrangement between the world being processed using limit relief area and screen space pipeline
CN103810669B (en) The cache block of pixels of size is customized through adaptability in unified L2 caches high speed caching
TWI645371B (en) Setting downstream render state in an upstream shader
TW200818054A (en) Tile based precision rasterization in graphics pipeline
TW200809691A (en) A graphics processing unit and a method of processing border color information
WO2010000126A1 (en) Method and system for generating interactive information
CN110675480B (en) Method and apparatus for acquiring sampling position of texture operation
US20170236243A1 (en) Graphics processing
US11954830B2 (en) High dynamic range support for legacy applications
US10545800B2 (en) Direct doorbell ring in virtualized processing device
US20200314442A1 (en) Adaptive Pixel Sampling Order for Temporally Dense Rendering
US11315310B2 (en) Reservoir-based spatiotemporal importance resampling utilizing a global illumination data structure
KR20180023856A (en) Graphics processing systems and graphics processors
CN106796536A (en) Memory pool access method, device and electronic equipment for multiple operating system
CN113822975B (en) Techniques for efficient sampling of images
JP4532746B2 (en) Method and apparatus for stretch blitting using a 3D pipeline
TW484113B (en) Method and apparatus for ensuring backward compatibility in a bucket rendering system
JP7325775B2 (en) Image processing system, method, and program
Jia et al. Distorted shadow mapping
Weber et al. Parallel Reyes-style adaptive subdivision with bounded memory usage
NL2029297B1 (en) Graphics security with synergistic encryption, content-based and resource management technology