View Full Version : NV_explicit_multisample specification
10-20-2008, 06:51 AM
Does anyone know where I can find this specification?
It is part of the 180.10 leaked drivers...
<NV_explicit_multisample: New texture renderbuffer object command
replaces "Tex" in name with "Texture" and add initial "uint texture"
void TextureRenderbufferEXT(uint texture, enum target,
<NV_explicit_multisample: New multitexture texture renderbuffer command
prefixes "Multi" before "Tex" and add an initial "enum texunit"
parameter (to identify the texture unit)>
void MultiTexRenderbufferEXT(enum texunit, enum target,
10-20-2008, 02:50 PM
10-31-2008, 10:01 AM
10-31-2008, 12:47 PM
Well, I can't say that I like that extension. The entire point of a RenderBuffer was that the driver knew that you could not use it as a texture. NV_explicit_multisample allows that.
It would have made far more sense to allow multisample as part of the internal format of a texture.
10-31-2008, 12:56 PM
Eeek, this looks ugly. It does not support 2D multisample texture arrays,as DX10.0 does. But it contains access to the sample position, which is a DX10.1 feature. Strange blend.
10-31-2008, 05:08 PM
It does not support 2D multisample texture arrays
That's because it doesn't support multisample textures. It merely allows you to bind a buffer object to a sampler.
11-01-2008, 07:14 AM
Don't have the 180 drivers to tinker with it, but the basic usage pattern seems to be something like...
// Create texture for sampling
// Create MSAA renderbuffer with desired size, format, samples, etc ...
// Render to rb normally ...
// Now just attach texture to renderbuffer for sampling
// Sample in GLSL using texelFetchRenderbuffer((i|u)samplerRenderbuffer sampler, ivec2 coord, int sample)
// GetActiveUniform returns type of (INT_|UNSIGNED_INT_)SAMPLER_RENDERBUFFER_NV
Seems to me it's just a temporary binding of a texture and a renderbuffer - temporary mapping of the buffer object
for the purpose of sampling only (as Korval pointed out).
For arrays it looks like we'd need something like samplerRenderbufferArray... (I smell an extension here)
11-01-2008, 01:18 PM
I smell an extension here
I hope not. This is a crappy way to expose this functionality, and I would hope that the ARB abandons it in favor of something more reasonable.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.