Home
last modified time | relevance | path

Searched refs:max_samplers (Results 1 – 9 of 9) sorted by relevance

/external/deqp/external/openglcts/modules/gl/
Dgl4cMultiBindTests.cpp1963 GLint max_samplers = 0; in iterate() local
1967 gl.getIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, &max_samplers); in iterate()
1973 if (n_samplers > max_samplers) in iterate()
1975 count = max_samplers; in iterate()
1976 validated_index = max_samplers - 1; in iterate()
1994 if (n_samplers <= max_samplers) in iterate()
1996 t_first = max_samplers - n_samplers + 1; in iterate()
2000 t_count = max_samplers + 1; in iterate()
2908 GLint max_samplers = 0; in iterate() local
2911 gl.getIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, &max_samplers); in iterate()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_image.c196 const unsigned max_samplers = 16; in get_image_slot() local
197 return max_samplers - index - 1; in get_image_slot()
/external/mesa3d/src/gallium/state_trackers/clover/core/
Ddevice.hpp58 cl_uint max_samplers() const;
Ddevice.cpp123 device::max_samplers() const { in max_samplers() function in device
/external/mesa3d/src/intel/vulkan/
Danv_device.c812 const uint32_t max_samplers = (devinfo->gen >= 8 || devinfo->is_haswell) ? in anv_GetPhysicalDeviceProperties() local
833 .maxPerStageDescriptorSamplers = max_samplers, in anv_GetPhysicalDeviceProperties()
836 .maxPerStageDescriptorSampledImages = max_samplers, in anv_GetPhysicalDeviceProperties()
840 ….maxDescriptorSetSamplers = 6 * max_samplers, /* number of stages * maxPerStageDes… in anv_GetPhysicalDeviceProperties()
845 ….maxDescriptorSetSampledImages = 6 * max_samplers, /* number of stages * maxPerStageDes… in anv_GetPhysicalDeviceProperties()
/external/mesa3d/src/gallium/state_trackers/clover/api/
Ddevice.cpp204 buf.as_scalar<cl_uint>() = dev.max_samplers(); in clGetDeviceInfo()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c368 unsigned max_samplers = in brw_initialize_context_constants() local
429 prog->MaxTextureImageUnits = max_samplers; in brw_initialize_context_constants()
451 ctx->Const.MaxCombinedTextureImageUnits = num_stages * max_samplers; in brw_initialize_context_constants()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_compiler_nir.c1583 const unsigned max_samplers = 16; in get_image_slot() local
1584 return max_samplers - var->data.driver_location - 1; in get_image_slot()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp8955 uint32_t max_samplers = m_device->phy().properties().limits.maxPerStageDescriptorSamplers; in TEST_F() local
8956 uint32_t max_combined = std::min(max_samplers, max_sampled_images); in TEST_F()
8969 …max_uniform_buffers, max_storage_buffers, max_sampled_images, max_storage_images, max_samplers})) { in TEST_F()
8991 dslb.descriptorCount = max_samplers; in TEST_F()
9007 if ((max_samplers + max_combined) > sum_samplers) { in TEST_F()
9186 uint32_t max_samplers = m_device->phy().properties().limits.maxPerStageDescriptorSamplers; in TEST_F() local
9238 if (dslb.descriptorCount > max_samplers) { in TEST_F()
9363 dslb.descriptorCount = max_samplers; in TEST_F()
9370 …uint32_t remaining = (max_samplers > sum_sampled_images ? 0 : (sum_sampled_images - max_samplers) … in TEST_F()