English 中文(简体)
整个管道能否更新统一价值?
原标题:Will updating a uniform value stall the whole rendering pipeline?

The glBufferSubData manpage s notes section contains the following paragraph:

考虑使用多个缓冲物体,以避免在数据储存更新过程中铺设管道。 如果管道中的任何投放都提到正在由冰川子公司(特别是正在更新的特定区域)更新的缓冲物体中的数据,那么,在数据储存更新之前,必须从管道中提取数据。

While the glUniform* manpage doesn t mention the pipeline at all.
However, I would have thought that uniforms are just as important as buffers, given that they re supposed to be uniform across all shader invocations.
So, if I perform a draw call, change a uniform value and then perform another draw call on the same shader, will both draw calls run concurrently with different uniform values, or will the second draw call have to wait until every stage (vert/geom/frag) is complete on the first one?

最佳回答

The question in its general form is pretty much unanswerable. However consider this:

自LL全球升温潜能值和ARB的组装语言出现以来,统一/参数状态一直储存在粉碎物中。 只有在统一区块和缓冲物体有可能将统一状态与方案分开。 因此,直到此为止,一个好5年多的年份,改变统一的唯一办法是改变方案。

这意味着,使用全球升温潜能值的每一种方案都以标准方式使用:约束一个方案,改变制服,改变制服,改变制服,改变制服,使之失效等。

现在,想象一下,有数百个开放式利比里亚方案的这种简单而明显的事情引诱了full的管道铺设<>>。

司机开发商并不 st;即使英特尔公司司机开发商也 are。 不管其硬件是什么样子,它们都能够找到一种方式来进行统一变革,而不是使管道瘫痪。

问题回答

暂无回答




相关问题
OpenGL 3D Selection

I am trying to create a 3D robot that should perform certain actions when certain body parts are clicked. I have successfully (sort of) implemented picking in that if you click on any x-plane part, it ...

CVDisplayLink instead of NSTimer

I have started to implement cvDisplayLink to drive the render loop instead of nstimer, as detailed in this technical note https://developer.apple.com/library/archive/qa/qa1385/_index.html Is it ...

Can the iPhone simulator handle PVR textures?

I have a really weird problem with PVR textures on the iPhone simulator- the framerate falls through the floor on the iPhone simulator, but on the iPhone itself it works just fine. Has anyone had any ...

Calculate fps (frames per second) for iphone app

I am using an opengl es iphone application. What is the most accurate way to calculate the frames per second of my application for performance tuning?

Java - Zoom / 3D Data Visualization Libraries

What are the best libraries/frameworks for doing 3D and/or Zoom interfaces in Java? I d like to be able to do some prototyping of creating new types of interfaces for navigating within data and ...

FLTK in Cygwin using Eclipse (Linking errors)

I have this assignment due that requires the usage of FLTK. The code is given to us and it should compile straight off of the bat, but I am having linking errors and do not know which other libraries ...

热门标签