/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 83 static boolean r300_texture_macro_switch(struct r300_resource *tex, in r300_texture_macro_switch() argument 90 if (tex->b.nr_samples > 1) { in r300_texture_macro_switch() 94 tile = r300_get_pixel_alignment(tex->b.format, tex->b.nr_samples, in r300_texture_macro_switch() 95 tex->tex.microtile, RADEON_LAYOUT_TILED, dim, 0); in r300_texture_macro_switch() 97 texdim = u_minify(tex->tex.width0, level); in r300_texture_macro_switch() 99 texdim = u_minify(tex->tex.height0, level); in r300_texture_macro_switch() 115 struct r300_resource *tex, in r300_texture_get_stride() argument 123 if (tex->tex.stride_in_bytes_override) in r300_texture_get_stride() 124 return tex->tex.stride_in_bytes_override; in r300_texture_get_stride() 127 if (level > tex->b.last_level) { in r300_texture_get_stride() [all …]
|
D | r300_texture.c | 905 struct r300_resource *tex, in r300_texture_setup_format_state() argument 912 struct pipe_resource *pt = &tex->b; in r300_texture_setup_format_state() 913 struct r300_texture_desc *desc = &tex->tex; in r300_texture_setup_format_state() 991 struct r300_resource *tex = r300_resource(surf->base.texture); in r300_texture_setup_fb_state() local 992 unsigned level = surf->base.u.tex.level; in r300_texture_setup_fb_state() 994 r300_stride_to_width(surf->base.format, tex->tex.stride_in_bytes[level]); in r300_texture_setup_fb_state() 1000 R300_DEPTHMACROTILE(tex->tex.macrotile[level]) | in r300_texture_setup_fb_state() 1001 R300_DEPTHMICROTILE(tex->tex.microtile) | in r300_texture_setup_fb_state() 1004 surf->pitch_zmask = tex->tex.zmask_stride_in_pixels[level]; in r300_texture_setup_fb_state() 1005 surf->pitch_hiz = tex->tex.hiz_stride_in_pixels[level]; in r300_texture_setup_fb_state() [all …]
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_tex.c | 100 project_src(nir_builder *b, nir_tex_instr *tex) in project_src() argument 103 int proj_index = nir_tex_instr_src_index(tex, nir_tex_src_projector); in project_src() 107 b->cursor = nir_before_instr(&tex->instr); in project_src() 110 nir_frcp(b, nir_ssa_for_src(b, tex->src[proj_index].src, 1)); in project_src() 113 for (unsigned i = 0; i < tex->num_srcs; i++) { in project_src() 114 switch (tex->src[i].src_type) { in project_src() 122 nir_ssa_for_src(b, tex->src[i].src, nir_tex_instr_src_size(tex, i)); in project_src() 128 if (tex->is_array && tex->src[i].src_type == nir_tex_src_coord) { in project_src() 129 switch (tex->coord_components) { in project_src() 154 nir_instr_rewrite_src(&tex->instr, in project_src() [all …]
|
D | nir_lower_drawpixels.c | 38 nir_variable *texcoord, *texcoord_const, *scale, *bias, *tex, *pixelmap; member 120 nir_tex_instr *tex; in lower_color() local 132 if (!state->tex) { in lower_color() 133 state->tex = in lower_color() 135 state->tex->data.binding = state->options->drawpix_sampler; in lower_color() 136 state->tex->data.explicit_binding = true; in lower_color() 137 state->tex->data.how_declared = nir_var_hidden; in lower_color() 140 nir_deref_instr *tex_deref = nir_build_deref_var(b, state->tex); in lower_color() 145 tex = nir_tex_instr_create(state->shader, 3); in lower_color() 146 tex->op = nir_texop_tex; in lower_color() [all …]
|
D | nir_lower_input_attachments.c | 104 nir_tex_instr *tex = nir_tex_instr_create(b->shader, 3 + multisampled); in try_lower_input_load() local 106 tex->op = nir_texop_txf; in try_lower_input_load() 107 tex->sampler_dim = image_dim; in try_lower_input_load() 109 tex->dest_type = in try_lower_input_load() 111 tex->is_array = true; in try_lower_input_load() 112 tex->is_shadow = false; in try_lower_input_load() 113 tex->is_sparse = load->intrinsic == nir_intrinsic_image_deref_sparse_load; in try_lower_input_load() 115 tex->texture_index = 0; in try_lower_input_load() 116 tex->sampler_index = 0; in try_lower_input_load() 118 tex->src[0].src_type = nir_tex_src_texture_deref; in try_lower_input_load() [all …]
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_texture.c | 120 i915_texture_set_level_info(struct i915_texture *tex, unsigned level, in i915_texture_set_level_info() argument 123 assert(level < ARRAY_SIZE(tex->nr_images)); in i915_texture_set_level_info() 125 assert(!tex->image_offset[level]); in i915_texture_set_level_info() 127 tex->nr_images[level] = nr_images; in i915_texture_set_level_info() 128 tex->image_offset[level] = MALLOC(nr_images * sizeof(struct offset_pair)); in i915_texture_set_level_info() 129 tex->image_offset[level][0].nblocksx = 0; in i915_texture_set_level_info() 130 tex->image_offset[level][0].nblocksy = 0; in i915_texture_set_level_info() 134 i915_texture_offset(const struct i915_texture *tex, unsigned level, in i915_texture_offset() argument 138 x = tex->image_offset[level][layer].nblocksx * in i915_texture_offset() 139 util_format_get_blocksize(tex->b.format); in i915_texture_offset() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_lower_tex.cpp | 33 static bool lower_coord_shift_normalized(nir_builder *b, nir_tex_instr *tex) in lower_coord_shift_normalized() argument 35 b->cursor = nir_before_instr(&tex->instr); in lower_coord_shift_normalized() 37 nir_ssa_def * size = nir_i2f32(b, nir_get_texture_size(b, tex)); in lower_coord_shift_normalized() 40 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_coord_shift_normalized() 42 if (unlikely(tex->array_is_lowered_cube)) { in lower_coord_shift_normalized() 43 auto corr2 = nir_fadd(b, nir_channels(b, tex->src[coord_index].src.ssa, 3), in lower_coord_shift_normalized() 47 b, tex->src[coord_index].src.ssa, 2)); in lower_coord_shift_normalized() 51 tex->src[coord_index].src.ssa); in lower_coord_shift_normalized() 54 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_coord_shift_normalized() 59 static bool lower_coord_shift_unnormalized(nir_builder *b, nir_tex_instr *tex) in lower_coord_shift_unnormalized() argument [all …]
|
D | sfn_instr_tex.cpp | 275 auto tex = new TexInstr( opcode, dest, dest_swz, src, sampler_id, res_id, nullptr); in from_string() local 285 tex->read_tex_coord_normalitazion(next_token); in from_string() 287 tex->set_tex_param(next_token); in from_string() 291 return tex; in from_string() 321 bool TexInstr::from_nir(nir_tex_instr *tex, Shader& shader) in from_nir() argument 323 Inputs src(*tex, shader.value_factory()); in from_nir() 325 if (tex->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in from_nir() 326 switch (tex->op) { in from_nir() 328 return emit_tex_txs(tex, src, {0,1,2,3}, shader); in from_nir() 330 return emit_buf_txf(tex, src, shader); in from_nir() [all …]
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_texture.c | 131 static unsigned si_texture_get_offset(struct si_screen *sscreen, struct si_texture *tex, in si_texture_get_offset() argument 137 if (tex->surface.is_linear) { in si_texture_get_offset() 138 pitch = tex->surface.u.gfx9.pitch[level]; in si_texture_get_offset() 140 pitch = tex->surface.u.gfx9.surf_pitch; in si_texture_get_offset() 143 *stride = pitch * tex->surface.bpe; in si_texture_get_offset() 144 *layer_stride = tex->surface.u.gfx9.surf_slice_size; in si_texture_get_offset() 151 return tex->surface.u.gfx9.surf_offset + box->z * tex->surface.u.gfx9.surf_slice_size + in si_texture_get_offset() 152 tex->surface.u.gfx9.offset[level] + in si_texture_get_offset() 153 (box->y / tex->surface.blk_h * pitch + box->x / tex->surface.blk_w) * in si_texture_get_offset() 154 tex->surface.bpe; in si_texture_get_offset() [all …]
|
D | si_clear.c | 107 static bool si_alloc_separate_cmask(struct si_screen *sscreen, struct si_texture *tex) in si_alloc_separate_cmask() argument 114 if (tex->cmask_buffer) in si_alloc_separate_cmask() 117 if (!tex->surface.cmask_size) in si_alloc_separate_cmask() 120 tex->cmask_buffer = in si_alloc_separate_cmask() 122 tex->surface.cmask_size, 1 << tex->surface.cmask_alignment_log2); in si_alloc_separate_cmask() 123 if (tex->cmask_buffer == NULL) in si_alloc_separate_cmask() 126 tex->cmask_base_address_reg = tex->cmask_buffer->gpu_address >> 8; in si_alloc_separate_cmask() 127 tex->cb_color_info |= S_028C70_FAST_CLEAR(1); in si_alloc_separate_cmask() 133 static bool si_set_clear_color(struct si_texture *tex, enum pipe_format surface_format, in si_set_clear_color() argument 140 if (tex->surface.bpe == 16) { in si_set_clear_color() [all …]
|
D | si_blit.c | 154 surf_tmpl.u.tex.level = level; in si_blit_dbcb_copy() 160 surf_tmpl.u.tex.first_layer = layer; in si_blit_dbcb_copy() 161 surf_tmpl.u.tex.last_layer = layer; in si_blit_dbcb_copy() 224 surf_tmpl.u.tex.level = level; in si_blit_decompress_zs_planes_in_place() 232 surf_tmpl.u.tex.first_layer = layer; in si_blit_decompress_zs_planes_in_place() 233 surf_tmpl.u.tex.last_layer = layer; in si_blit_decompress_zs_planes_in_place() 292 static void si_decompress_depth(struct si_context *sctx, struct si_texture *tex, in si_decompress_depth() argument 303 levels_z = level_mask & tex->dirty_level_mask; in si_decompress_depth() 306 if (si_can_sample_zs(tex, false)) in si_decompress_depth() 313 levels_s = level_mask & tex->stencil_dirty_level_mask; in si_decompress_depth() [all …]
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dvx_image.c | 48 v3dvx_pack(image_view->texture_shader_state[index], TEXTURE_SHADER_STATE, tex) { in pack_texture_shader_state_helper() 50 tex.level_0_is_strictly_uif = in pack_texture_shader_state_helper() 54 tex.level_0_xor_enable = (image->slices[0].tiling == V3D_TILING_UIF_XOR); in pack_texture_shader_state_helper() 56 if (tex.level_0_is_strictly_uif) in pack_texture_shader_state_helper() 57 tex.level_0_ub_pad = image->slices[0].ub_pad; in pack_texture_shader_state_helper() 62 tex.uif_xor_disable = false; in pack_texture_shader_state_helper() 63 if (tex.uif_xor_disable || in pack_texture_shader_state_helper() 64 tex.level_0_is_strictly_uif) { in pack_texture_shader_state_helper() 65 tex.extended = true; in pack_texture_shader_state_helper() 68 tex.base_level = image_view->vk.base_mip_level; in pack_texture_shader_state_helper() [all …]
|
/third_party/libunwind/libunwind/doc/ |
D | Makefile.am | 32 libunwind.tex libunwind-dynamic.tex libunwind-ia64.tex \ 33 libunwind-ptrace.tex libunwind-setjmp.tex \ 34 unw_apply_reg_state.tex \ 35 unw_backtrace.tex \ 36 unw_flush_cache.tex \ 37 unw_get_accessors.tex \ 38 unw_get_proc_info.tex \ 39 unw_get_proc_info_by_ip.tex \ 40 unw_get_proc_name.tex \ 41 unw_get_fpreg.tex \ [all …]
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource_texture.h | 153 struct svga_texture *tex = (struct svga_texture *)resource; in svga_texture() local 154 assert(tex == NULL || tex->b.target != PIPE_BUFFER); in svga_texture() 155 return tex; in svga_texture() 173 svga_age_texture_view(struct svga_texture *tex, unsigned level) in svga_age_texture_view() argument 175 assert(level < ARRAY_SIZE(tex->view_age)); in svga_age_texture_view() 176 tex->view_age[level] = ++(tex->age); in svga_age_texture_view() 182 check_face_level(const struct svga_texture *tex, in check_face_level() argument 185 if (tex->b.target == PIPE_TEXTURE_CUBE) { in check_face_level() 188 else if (tex->b.target == PIPE_TEXTURE_3D) { in check_face_level() 189 assert(face < tex->b.depth0); in check_face_level() [all …]
|
D | svga_resource_texture.c | 243 struct svga_texture *tex, in readback_texture_surface() argument 249 tex->surface_state = SVGA_SURFACE_STATE_UPDATED; in readback_texture_surface() 334 struct svga_texture *tex = svga_texture(texture); in svga_texture_transfer_map_direct() local 335 struct svga_winsys_surface *surf = tex->handle; in svga_texture_transfer_map_direct() 343 if (!svga->swc->force_coherent || tex->imported) { in svga_texture_transfer_map_direct() 345 readback_texture_surface(svga, tex, surf); in svga_texture_transfer_map_direct() 353 svga_clear_texture_rendered_to(tex); in svga_texture_transfer_map_direct() 358 if (svga_is_texture_dirty(tex, st->slice, level)) { in svga_texture_transfer_map_direct() 432 baseLevelSize.width = tex->b.width0; in svga_texture_transfer_map_direct() 433 baseLevelSize.height = tex->b.height0; in svga_texture_transfer_map_direct() [all …]
|
D | svga_surface.c | 183 struct svga_texture *tex, in svga_texture_view_surface() argument 209 key->size.width = u_minify(tex->b.width0, start_mip); in svga_texture_view_surface() 210 key->size.height = u_minify(tex->b.height0, start_mip); in svga_texture_view_surface() 211 key->size.depth = zslice_pick < 0 ? u_minify(tex->b.depth0, start_mip) : 1; in svga_texture_view_surface() 217 key->sampleCount = tex->b.nr_samples > 1 ? tex->b.nr_samples : 0; in svga_texture_view_surface() 224 if (tex->b.target == PIPE_TEXTURE_CUBE && layer_pick < 0) { in svga_texture_view_surface() 227 } else if (tex->b.target == PIPE_TEXTURE_1D_ARRAY || in svga_texture_view_surface() 228 tex->b.target == PIPE_TEXTURE_2D_ARRAY) { in svga_texture_view_surface() 237 if (cacheable && tex->backed_handle && in svga_texture_view_surface() 238 memcmp(key, &tex->backed_key, sizeof *key) == 0) { in svga_texture_view_surface() [all …]
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir_lower_int_samplers.c | 35 nir_tex_instr *tex = nir_instr_as_tex(instr); in lower_sample_to_txf_for_integer_tex_filter() local 36 if (tex->op != nir_texop_tex && in lower_sample_to_txf_for_integer_tex_filter() 37 tex->op != nir_texop_txb && in lower_sample_to_txf_for_integer_tex_filter() 38 tex->op != nir_texop_txl && in lower_sample_to_txf_for_integer_tex_filter() 39 tex->op != nir_texop_txd) in lower_sample_to_txf_for_integer_tex_filter() 42 return (tex->dest_type & (nir_type_int | nir_type_uint)); in lower_sample_to_txf_for_integer_tex_filter() 46 dx_get_texture_lod(nir_builder *b, nir_tex_instr *tex) in dx_get_texture_lod() argument 51 for (unsigned i = 0; i < tex->num_srcs; i++) { in dx_get_texture_lod() 52 if (tex->src[i].src_type == nir_tex_src_coord || in dx_get_texture_lod() 53 tex->src[i].src_type == nir_tex_src_texture_deref || in dx_get_texture_lod() [all …]
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_lower_tex_prefetch.c | 108 has_src(nir_tex_instr *tex, nir_tex_src_type type) in has_src() argument 110 return nir_tex_instr_src_index(tex, type) >= 0; in has_src() 114 ok_bindless_src(nir_tex_instr *tex, nir_tex_src_type type) in ok_bindless_src() argument 116 int idx = nir_tex_instr_src_index(tex, type); in ok_bindless_src() 118 nir_intrinsic_instr *bindless = ir3_bindless_resource(tex->src[idx].src); in ok_bindless_src() 135 ok_tex_samp(nir_tex_instr *tex) in ok_tex_samp() argument 137 if (has_src(tex, nir_tex_src_texture_handle)) { in ok_tex_samp() 140 assert(has_src(tex, nir_tex_src_sampler_handle)); in ok_tex_samp() 142 return ok_bindless_src(tex, nir_tex_src_texture_handle) && in ok_tex_samp() 143 ok_bindless_src(tex, nir_tex_src_sampler_handle); in ok_tex_samp() [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_lower_ycbcr_textures.c | 45 nir_tex_instr *tex = nir_tex_instr_create(b->shader, 1); in get_texture_size() local 47 tex->op = nir_texop_txs; in get_texture_size() 48 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size() 49 tex->is_array = glsl_sampler_type_is_array(type); in get_texture_size() 50 tex->is_shadow = glsl_sampler_type_is_shadow(type); in get_texture_size() 51 tex->dest_type = nir_type_int32; in get_texture_size() 53 tex->src[0].src_type = nir_tex_src_texture_deref; in get_texture_size() 54 tex->src[0].src = nir_src_for_ssa(&texture->dest.ssa); in get_texture_size() 56 nir_ssa_dest_init(&tex->instr, &tex->dest, nir_tex_instr_dest_size(tex), 32, NULL); in get_texture_size() 57 nir_builder_instr_insert(b, &tex->instr); in get_texture_size() [all …]
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_surface.c | 31 static int amdgpu_surface_sanity(const struct pipe_resource *tex) in amdgpu_surface_sanity() argument 33 switch (tex->target) { in amdgpu_surface_sanity() 35 if (tex->height0 > 1) in amdgpu_surface_sanity() 40 if (tex->depth0 > 1 || tex->array_size > 1) in amdgpu_surface_sanity() 44 if (tex->array_size > 1) in amdgpu_surface_sanity() 48 if (tex->height0 > 1) in amdgpu_surface_sanity() 54 if (tex->depth0 > 1) in amdgpu_surface_sanity() 64 const struct pipe_resource *tex, in amdgpu_surface_init() argument 72 r = amdgpu_surface_sanity(tex); in amdgpu_surface_init() 76 surf->blk_w = util_format_get_blockwidth(tex->format); in amdgpu_surface_init() [all …]
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_ycbcr_textures.c | 47 nir_tex_instr *tex = nir_tex_instr_create(b->shader, 1); in get_texture_size() local 49 tex->op = nir_texop_txs; in get_texture_size() 50 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size() 51 tex->is_array = glsl_sampler_type_is_array(type); in get_texture_size() 52 tex->is_shadow = glsl_sampler_type_is_shadow(type); in get_texture_size() 53 tex->dest_type = nir_type_int32; in get_texture_size() 55 tex->src[0].src_type = nir_tex_src_texture_deref; in get_texture_size() 56 tex->src[0].src = nir_src_for_ssa(&texture->dest.ssa); in get_texture_size() 58 nir_ssa_dest_init(&tex->instr, &tex->dest, in get_texture_size() 59 nir_tex_instr_dest_size(tex), 32, NULL); in get_texture_size() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_s3tc.c | 266 GLubyte tex[4]; in fetch_rgb_dxt1() local 267 fetch_2d_texel_rgb_dxt1(rowStride, map, i, j, tex); in fetch_rgb_dxt1() 268 texel[RCOMP] = UBYTE_TO_FLOAT(tex[RCOMP]); in fetch_rgb_dxt1() 269 texel[GCOMP] = UBYTE_TO_FLOAT(tex[GCOMP]); in fetch_rgb_dxt1() 270 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]); in fetch_rgb_dxt1() 271 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); in fetch_rgb_dxt1() 278 GLubyte tex[4]; in fetch_rgba_dxt1() local 279 fetch_2d_texel_rgba_dxt1(rowStride, map, i, j, tex); in fetch_rgba_dxt1() 280 texel[RCOMP] = UBYTE_TO_FLOAT(tex[RCOMP]); in fetch_rgba_dxt1() 281 texel[GCOMP] = UBYTE_TO_FLOAT(tex[GCOMP]); in fetch_rgba_dxt1() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_texture.c | 52 bind_sampler_states(struct fd_texture_stateobj *tex, unsigned start, in bind_sampler_states() argument 59 tex->samplers[p] = hwcso ? hwcso[i] : NULL; in bind_sampler_states() 60 if (tex->samplers[p]) in bind_sampler_states() 61 tex->valid_samplers |= (1 << p); in bind_sampler_states() 63 tex->valid_samplers &= ~(1 << p); in bind_sampler_states() 66 tex->num_samplers = util_last_bit(tex->valid_samplers); in bind_sampler_states() 70 set_sampler_views(struct fd_texture_stateobj *tex, unsigned start, unsigned nr, in set_sampler_views() argument 81 pipe_sampler_view_reference(&tex->textures[p], NULL); in set_sampler_views() 82 tex->textures[p] = view; in set_sampler_views() 84 pipe_sampler_view_reference(&tex->textures[p], view); in set_sampler_views() [all …]
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_lower_cubemap_to_array.c | 55 nir_tex_instr *tex = nir_instr_as_tex(instr); in lower_cubemap_to_array_filter() local 57 if (tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) in lower_cubemap_to_array_filter() 60 switch (tex->op) { in lower_cubemap_to_array_filter() 72 return (BITFIELD_BIT(tex->sampler_index) & (*nonseamless_cube_mask)) != 0; in lower_cubemap_to_array_filter() 142 create_array_tex_from_cube_tex(nir_builder *b, nir_tex_instr *tex, nir_ssa_def *coord, nir_texop op) in create_array_tex_from_cube_tex() argument 146 unsigned num_srcs = tex->num_srcs; in create_array_tex_from_cube_tex() 147 if (op == nir_texop_txf && nir_tex_instr_src_index(tex, nir_tex_src_comparator) != -1) in create_array_tex_from_cube_tex() 153 array_tex->is_shadow = tex->is_shadow; in create_array_tex_from_cube_tex() 154 array_tex->is_sparse = tex->is_sparse; in create_array_tex_from_cube_tex() 155 array_tex->is_new_style_shadow = tex->is_new_style_shadow; in create_array_tex_from_cube_tex() [all …]
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_surface.cpp | 100 if (tpl->u.tex.first_layer > 0) in initialize_dsv() 102 tpl->u.tex.first_layer); in initialize_dsv() 104 desc.Texture1D.MipSlice = tpl->u.tex.level; in initialize_dsv() 108 desc.Texture1DArray.MipSlice = tpl->u.tex.level; in initialize_dsv() 109 desc.Texture1DArray.FirstArraySlice = tpl->u.tex.first_layer; in initialize_dsv() 110 desc.Texture1DArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_dsv() 114 if (tpl->u.tex.first_layer > 0) in initialize_dsv() 116 tpl->u.tex.first_layer); in initialize_dsv() 121 if (tpl->u.tex.first_layer > 0) in initialize_dsv() 123 tpl->u.tex.first_layer); in initialize_dsv() [all …]
|