i965: bump MAX_DEPTH_TEXTURE_SAMPLES to 4/8
Bump MAX_DEPTH_TEXTURE_SAMPLES to match what GetInternalformativ is claiming. Since that limit is what is actually enforced now, this doesn't actually change anything except the queried value. There's still no piglits verifying that multisample depth textures work, but this works in the Unigine demos. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -202,13 +202,13 @@ brwCreateContext(int api,
|
||||
if (intel->gen == 6) {
|
||||
ctx->Const.MaxSamples = 4;
|
||||
ctx->Const.MaxColorTextureSamples = 4;
|
||||
ctx->Const.MaxDepthTextureSamples = 1;
|
||||
ctx->Const.MaxDepthTextureSamples = 4;
|
||||
ctx->Const.MaxIntegerSamples = 4;
|
||||
}
|
||||
else if (intel->gen >= 7) {
|
||||
ctx->Const.MaxSamples = 8;
|
||||
ctx->Const.MaxColorTextureSamples = 8;
|
||||
ctx->Const.MaxDepthTextureSamples = 1;
|
||||
ctx->Const.MaxDepthTextureSamples = 8;
|
||||
ctx->Const.MaxIntegerSamples = 8;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user