diff options
Diffstat (limited to 'video.cpp')
| -rw-r--r-- | video.cpp | 5 | 
1 files changed, 3 insertions, 2 deletions
| @@ -6,9 +6,9 @@  #define max_buffers 1024  #define max_vertex_formats 64  #define max_rpos 64 -#define max_fbos 64 +#define max_fbos 1024  #define max_pipelines 64 -#define max_descriptor_sets 64 +#define max_descriptor_sets 1024  #define max_shaders 32  #define max_samplers 16 @@ -4154,6 +4154,7 @@ void Sampler_Vk::init(Device_Vk* dev, const Sampler_State& s) {  	si.addressModeV = get_mode(s.address_v);  	si.addressModeW = get_mode(s.address_w);  	si.borderColor = VK_BORDER_COLOR_FLOAT_CUSTOM_EXT; +	si.maxLod = VK_LOD_CLAMP_NONE;  	si.pNext = &bi;  	bi.sType = VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT;  	bi.customBorderColor = col; |