mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
lavapipe: fix dEQP-VK.info.device_properties
Fix bounds and widelines aren't supported for now. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7416>
This commit is contained in:
parent
6dabb8065a
commit
a5aab63fb1
1 changed files with 3 additions and 3 deletions
|
|
@ -465,7 +465,7 @@ void lvp_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
|
|||
.maxSamplerAnisotropy = 16,
|
||||
.maxViewports = pdevice->pscreen->get_param(pdevice->pscreen, PIPE_CAP_MAX_VIEWPORTS),
|
||||
.maxViewportDimensions = { (1 << 14), (1 << 14) },
|
||||
.viewportBoundsRange = { -16384.0, 16384.0 },
|
||||
.viewportBoundsRange = { -32768.0, 32768.0 },
|
||||
.viewportSubPixelBits = pdevice->pscreen->get_param(pdevice->pscreen, PIPE_CAP_VIEWPORT_SUBPIXEL_BITS),
|
||||
.minMemoryMapAlignment = 4096, /* A page */
|
||||
.minTexelBufferOffsetAlignment = pdevice->pscreen->get_param(pdevice->pscreen, PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT),
|
||||
|
|
@ -499,9 +499,9 @@ void lvp_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
|
|||
.maxCombinedClipAndCullDistances = 8,
|
||||
.discreteQueuePriorities = 2,
|
||||
.pointSizeRange = { 0.0, pdevice->pscreen->get_paramf(pdevice->pscreen, PIPE_CAPF_MAX_POINT_WIDTH) },
|
||||
.lineWidthRange = { 0.0, pdevice->pscreen->get_paramf(pdevice->pscreen, PIPE_CAPF_MAX_LINE_WIDTH) },
|
||||
.lineWidthRange = { 1.0, 1.0 },
|
||||
.pointSizeGranularity = (1.0 / 8.0),
|
||||
.lineWidthGranularity = (1.0 / 128.0),
|
||||
.lineWidthGranularity = 0.0,
|
||||
.strictLines = false, /* FINISHME */
|
||||
.standardSampleLocations = true,
|
||||
.optimalBufferCopyOffsetAlignment = 128,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue