Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
virglrenderer.22428
0002-5d03711-vrend-Keep-the-max-texture-sizes-i...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-5d03711-vrend-Keep-the-max-texture-sizes-in-the-vrend_state.patch of Package virglrenderer.22428
commit 5d03711f88643b6b6639aebd8983c179cdd248b0 Author: Gert Wollny <gert.wollny@collabora.com> Date: Mon Oct 7 17:15:37 2019 +0200 vrend: Keep the max texture sizes in the vrend_state This is needed to check the resource creation parameters. Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Index: virglrenderer-0.6.0/src/vrend_renderer.c =================================================================== --- virglrenderer-0.6.0.orig/src/vrend_renderer.c +++ virglrenderer-0.6.0/src/vrend_renderer.c @@ -111,6 +111,9 @@ struct global_renderer_state { /* these appeared broken on at least one driver */ bool use_explicit_locations; uint32_t max_uniform_blocks; + uint32_t max_texture_2d_size; + uint32_t max_texture_3d_size; + uint32_t max_texture_cube_size; struct list_head active_ctx_list; /* threaded sync */ @@ -3808,6 +3811,10 @@ int vrend_renderer_init(struct vrend_if_ vrend_state.inited = true; vrend_object_init_resource_table(); vrend_clicbs = cbs; + /* Give some defaults to be able to run the tests */ + vrend_state.max_texture_2d_size = + vrend_state.max_texture_3d_size = + vrend_state.max_texture_cube_size = 16384; } ctx_params.shared = false;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor