6

与目标无关的光栅化 (TIR) 是DirectX 11.1 中的一项新硬件功能,Microsoft使用它来改进 Windows 8 中的 Direct2D。AMD 声称TIR 将 2D 矢量图形的性能提高了约 500%。并且与 Nvidia 发生了一些“口水战”,因为Kepler GPU 显然不支持 TIR(以及其他 DirectX 11.1 功能)。TIR 的想法似乎起源于微软,因为他们为它申请了专利

现在 Direct2D 很好,您的操作系统是 Windows,但是是否有一些 OpenGL(可能是供应商/AMD)扩展可以提供对相同硬件/驱动程序 TIR 事物的访问?我认为 AMD 有点奇怪,因为 OpenGL 没有独立于供应商的 2D 矢量图形扩展。目前只有 Nvidia 正在推广NV_path_rendering,其架构与 Direct2D 有很大不同。因此,与 Direct2D+Direct3D 世界不同,AMD 为加速 2D 矢量图形而制造的任何东西可以在 OpenGL 中插入(或显示)的地方还不清楚。我希望我的悲观主义将被下面的简单答案所揭开。

我实际上在这里发布了各种更新,因为评论风格的帖子中没有足够的空间来做这件事。TIR 的作用似乎有点混乱,这不仅仅是“没有附加存储的帧缓冲区”。这可能是因为我在上面只链接到最糟糕的专利权人(但这是我在 TIR 上能找到的最详细的文件)。我发现的关于 TIR 的最佳高级概述是来自Sinofsky 的博客文章的以下片段:

为了在渲染不规则几何体(例如地图上的地理边界)时提高性能,我们使用了一种新的图形硬件功能,称为目标独立光栅化或 TIR。

TIR 使 Direct2D 能够在曲面细分上花费更少的 CPU 周期,因此它可以更快、更高效地向 GPU 提供绘图指令,而不会牺牲视觉质量。TIR 可用于为支持 DirectX 11.1 的 Windows 8 设计的新 GPU 硬件。

下面的图表显示了在支持 TIR 的 DirectX 11.1 GPU 上从各种 SVG 文件渲染抗锯齿几何图形的性能改进:[图表截图]

我们与我们的图形硬件合作伙伴 [阅读 AMD] 密切合作来设计 TIR。由于这种伙伴关系,显着改善成为可能。DirectX 11.1 硬件今天已经上市,我们正在与我们的合作伙伴合作,以确保更多支持 TIR 的产品能够广泛使用。

这是我要求从 OpenGL 使用的硬件。(哎呀,我什至愿意从 Mantle 调用它,因为它也可以在 Windows 之外使用。)

4

3 回答 3

1

我相信 TIR 只是对 nvidia 和 AMD 用于抗锯齿的功能的再利用。

Nvidia 将其称为覆盖样本抗锯齿,其 gl 扩展名为 GL_NV_framebuffer_multisample_coverage。

AMD 称它为 EQAA,但它们似乎没有 gl 扩展名。

于 2014-08-12T07:41:00.590 回答
1

TIR 的 OpenGL 等效项是EXT_raster_multisample.

在 Nvidia 的 Maxwell 架构的新功能页面中提到了这一点:https ://developer.nvidia.com/content/maxwell-gm204-opengl-extensions 。

于 2020-12-13T16:40:05.473 回答
0

只是为了扩展 Nikita 的答案,有一个更详细的 Nvidia (2017) 扩展页面


(6) How do EXT_raster_multisample and NV_framebuffer_mixed_samples
    interact? Why are there two extensions?

    RESOLVED: The functionality in EXT_raster_multisample is equivalent to
    "Target-Independent Rasterization" in Direct3D 11.1, and is expected to be
    supportable today by other hardware vendors. It allows using multiple
    raster samples with a single color sample, as long as depth and stencil
    tests are disabled, with the number of raster samples controlled by a
    piece of state.

    NV_framebuffer_mixed_samples is an extension/enhancement of this feature
    with a few key improvements:

     - Multiple color samples are allowed, with the requirement that the number
       of raster samples must be a multiple of the number of color samples.

     - Depth and stencil buffers and tests are supported, with the requirement
       that the number of raster/depth/stencil samples must all be equal for
       any of the three that are in use.

     - The addition of the coverage modulation feature, which allows the
       multisample coverage information to accomplish blended antialiasing.

    Using mixed samples does not require enabling RASTER_MULTISAMPLE_EXT; the
    number of raster samples can be inferred from the depth/stencil
    attachments. But if it is enabled, RASTER_SAMPLES_EXT must equal the
    number of depth/stencil samples.
于 2020-12-13T17:03:42.973 回答