POPPUR爱换

 找回密码
 注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

搜索
查看: 4745|回复: 8
打印 上一主题 下一主题

STALKER COP DX11 HDAO High vs Ultra [通用计算在游戏中的威力]

[复制链接]
跳转到指定楼层
1#
发表于 2010-4-3 13:29 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
昨晚继续玩 GTX 480 的时候发现,STALKER COP 在启用 HDAO 的时候,SSAO quality(SSAO 品质)那里其实还有一个 Ultra (CS Version)最高品质选项,而之前我的测试都是使用 High 而已,所以尝试了一下这个 Ultra。

测试结果有些出乎意料,原本以为测试结果一定会比 High 跌落不少,但是从最终的测试结果来看,Ultra 的性能要比 High 更强。






从测试结果来看,我估计是这样的原因。

虽然 10.1 开始引入 gather4 指令,可以做到一条指令完成 4 个纹理样本的拾取,但是在 compute shader 中,只要没有 bank 冲突,就能达到每个周期 32 个 bank 的访问,和使用 gather4 相比,compute shader 的片上数据访问速度可以达到 8 倍(也可能更快,因为 GF100 上 tex cache 好像是需要两个周期的,而 TGSM 只需要 1 个周期)。

而在测试中,GTX 480 的性能提升更明显,可能是因为 GF100 拥有 L1 cache 设计和 48KB shared memory(TGSM),不过后者按理说在 DX11 中只能"看到" 32KB。
2#
发表于 2010-4-3 13:45 | 只看该作者
拿个SF慢慢看
回复 支持 反对

使用道具 举报

3#
 楼主| 发表于 2010-4-3 13:47 | 只看该作者
刚才关闭了现在又打开了。。。
ttl 发表于 2010-4-3 13:46


编辑中。
回复 支持 反对

使用道具 举报

4#
 楼主| 发表于 2010-4-3 14:01 | 只看该作者
http://msdn.microsoft.com/en-us/library/ee416412%28VS.85%29.aspx

这是 MSDN 上提供的 AMD HDAO 10.1 例程介绍。

对于 HDAO 的实现,里面是这样描述的:

"At its core, it detects valleys in depth"

"HDAO performs a single full-screen pass that requires only a single sample depth buffer as input. The pixel shader samples many depth texels in a solid pattern around the pixel of interest. It actually collects twin pairs of depth texels that have a special relationship. These texels are then mirrored through the pixel of interest."

"Performance

HDAO is an expensive effect, and in particular the texturing burden is very high. To alleviate this cost, the Direct3D 10.1 gather4 instruction has been used to accelerate the sampling. Instead of reading a single sample at a time, we collect four. This greatly reduces the texturing overhead of the technique. Another benefit to working on four samples at a time is that the calculations can also be vectorized in a very natural way."
回复 支持 反对

使用道具 举报

5#
发表于 2010-4-3 16:08 | 只看该作者
有点意思啊 咋480帧数涨上去了  5870基本没什么变化??? 以后测试这游戏 480又有必备设置。。。。。。。
回复 支持 反对

使用道具 举报

6#
发表于 2010-4-5 17:14 | 只看该作者
目前理论上所有DX11游戏都使用了ComputeShader,但是真正能用的好用的到位的估计也没几个
回复 支持 反对

使用道具 举报

7#
发表于 2010-4-29 23:17 | 只看该作者
这两张图都是dx11,但是给了gtx285的浅绿色……晕
回复 支持 反对

使用道具 举报

8#
 楼主| 发表于 2010-4-29 23:23 | 只看该作者
GTX 285 在这个测试中没有测试结果,所以你不会看到。
回复 支持 反对

使用道具 举报

9#
发表于 2010-4-30 00:28 | 只看该作者
這個測試好多人都這樣開啊,能找到的都開極限去了,沒去研究減低畫質怎麼跑
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

广告投放或合作|网站地图|处罚通告|

GMT+8, 2025-9-13 00:06

Powered by Discuz! X3.4

© 2001-2017 POPPUR.

快速回复 返回顶部 返回列表