Commit 79ad0411 by Tobin Ehlis Committed by Commit Bot

Vulkan:Pass through min/max program texel offset

The Vulkan min/maxTexelGatherOffset VkPhysicalDeviceLimits correspond to OpenGL's GL_MIN/MAX_PROGRAM_TEXTURE_GATHER_OFFSET params. Pass them directly through. Bug: angleproject:3605 Change-Id: Ic6a22bbe30ee2b0baaeaa62b6e26dc844c2ad82d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1793357Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Tobin Ehlis <tobine@google.com>
parent 3255f493
...@@ -215,6 +215,10 @@ void RendererVk::ensureCapsInitialized() const ...@@ -215,6 +215,10 @@ void RendererVk::ensureCapsInitialized() const
} }
mNativeCaps.maxUniformLocations = maxUniformVectors; mNativeCaps.maxUniformLocations = maxUniformVectors;
// Pass through min/max texel gather offsets
mNativeCaps.minProgramTextureGatherOffset = limitsVk.minTexelGatherOffset;
mNativeCaps.maxProgramTextureGatherOffset = limitsVk.maxTexelGatherOffset;
// Every stage has 1 reserved uniform buffer for the default uniforms, and 1 for the driver // Every stage has 1 reserved uniform buffer for the default uniforms, and 1 for the driver
// uniforms. // uniforms.
constexpr uint32_t kTotalReservedPerStageUniformBuffers = constexpr uint32_t kTotalReservedPerStageUniformBuffers =
......
...@@ -628,8 +628,6 @@ ...@@ -628,8 +628,6 @@
3520 VULKAN : dEQP-GLES31.functional.state_query.integer.max_framebuffer_samples* = FAIL 3520 VULKAN : dEQP-GLES31.functional.state_query.integer.max_framebuffer_samples* = FAIL
// MAX_UNIFORM_LOCATIONS is 0 // MAX_UNIFORM_LOCATIONS is 0
3520 VULKAN : dEQP-GLES31.functional.state_query.integer.max_uniform_locations* = FAIL 3520 VULKAN : dEQP-GLES31.functional.state_query.integer.max_uniform_locations* = FAIL
// GL_MIN/MAX_PROGRAM_TEXTURE_GATHER_OFFSET not set.
3605 VULKAN : dEQP-GLES31.functional.texture.gather.offset.* = FAIL
// Front-end query bugs: // Front-end query bugs:
3520 VULKAN : dEQP-GLES31.functional.program_interface_query.buffer_limited_query.resource_query = FAIL 3520 VULKAN : dEQP-GLES31.functional.program_interface_query.buffer_limited_query.resource_query = FAIL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment