Home
last modified time | relevance | path

Searched refs:depth_bits (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_screen.c149 const uint8_t * depth_bits, const uint8_t * stencil_bits, in driCreateConfigs() argument
282 (depth_bits[k] || stencil_bits[k])) { in driCreateConfigs()
289 if ((depth_bits[k] + stencil_bits[k] == 16) != in driCreateConfigs()
321 modes->depthBits = depth_bits[k]; in driCreateConfigs()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcPolygonOffsetClampTests.cpp359 GLint depth_bits = 0; in test() local
360 gl.getIntegerv(GL_DEPTH_BITS, &depth_bits); in test()
361 float num_units = (float)(1 << depth_bits); in test()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_state.c259 unsigned depth_bits = in etna_set_framebuffer_state() local
263 if (depth_bits == 16) in etna_set_framebuffer_state()
286 cs->PE_DEPTH_NORMALIZE = fui(exp2f(depth_bits) - 1.0f); in etna_set_framebuffer_state()
307 ts_mem_config |= COND(depth_bits == 16, VIVS_TS_MEM_CONFIG_DEPTH_16BPP); in etna_set_framebuffer_state()
/third_party/mesa3d/src/util/format/
Du_format.c355 int depth_bits; in util_get_depth_format_mrd() local
357 depth_bits = desc->channel[depth_channel].size; in util_get_depth_format_mrd()
358 mrd = 1.0 / ((1ULL << depth_bits) - 1); in util_get_depth_format_mrd()