Home
last modified time | relevance | path

Searched refs:tex (Results 1 – 25 of 977) sorted by relevance

12345678910>>...40

/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c83 static boolean r300_texture_macro_switch(struct r300_resource *tex, in r300_texture_macro_switch() argument
90 if (tex->b.b.nr_samples > 1) { in r300_texture_macro_switch()
94 tile = r300_get_pixel_alignment(tex->b.b.format, tex->b.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.b.last_level) { in r300_texture_get_stride()
[all …]
Dr300_texture.c907 struct r300_resource *tex, in r300_texture_setup_format_state() argument
914 struct pipe_resource *pt = &tex->b.b; in r300_texture_setup_format_state()
915 struct r300_texture_desc *desc = &tex->tex; in r300_texture_setup_format_state()
993 struct r300_resource *tex = r300_resource(surf->base.texture); in r300_texture_setup_fb_state() local
994 unsigned level = surf->base.u.tex.level; in r300_texture_setup_fb_state()
996 r300_stride_to_width(surf->base.format, tex->tex.stride_in_bytes[level]); in r300_texture_setup_fb_state()
1002 R300_DEPTHMACROTILE(tex->tex.macrotile[level]) | in r300_texture_setup_fb_state()
1003 R300_DEPTHMICROTILE(tex->tex.microtile) | in r300_texture_setup_fb_state()
1006 surf->pitch_zmask = tex->tex.zmask_stride_in_pixels[level]; in r300_texture_setup_fb_state()
1007 surf->pitch_hiz = tex->tex.hiz_stride_in_pixels[level]; in r300_texture_setup_fb_state()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_lower_tex.c70 project_src(nir_builder *b, nir_tex_instr *tex) in project_src() argument
73 int proj_index = nir_tex_instr_src_index(tex, nir_tex_src_projector); in project_src()
77 b->cursor = nir_before_instr(&tex->instr); in project_src()
80 nir_frcp(b, nir_ssa_for_src(b, tex->src[proj_index].src, 1)); in project_src()
83 for (unsigned i = 0; i < tex->num_srcs; i++) { in project_src()
84 switch (tex->src[i].src_type) { in project_src()
92 nir_ssa_for_src(b, tex->src[i].src, nir_tex_instr_src_size(tex, i)); in project_src()
98 if (tex->is_array && tex->src[i].src_type == nir_tex_src_coord) { in project_src()
99 switch (tex->coord_components) { in project_src()
124 nir_instr_rewrite_src(&tex->instr, in project_src()
[all …]
Dnir_lower_drawpixels.c38 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 …]
Dnir_lower_input_attachments.c106 nir_tex_instr *tex = nir_tex_instr_create(b.shader, 3 + multisampled); in try_lower_input_load() local
108 tex->op = nir_texop_txf; in try_lower_input_load()
109 tex->sampler_dim = image_dim; in try_lower_input_load()
113 tex->dest_type = nir_type_float; in try_lower_input_load()
116 tex->dest_type = nir_type_int; in try_lower_input_load()
119 tex->dest_type = nir_type_uint; in try_lower_input_load()
124 tex->is_array = true; in try_lower_input_load()
125 tex->is_shadow = false; in try_lower_input_load()
127 tex->texture_index = 0; in try_lower_input_load()
128 tex->sampler_index = 0; in try_lower_input_load()
[all …]
Dnir_lower_cl_images_to_tex.c72 nir_tex_instr *tex = nir_tex_instr_create(b.shader, num_srcs); in lower_cl_images_to_tex_impl() local
73 tex->op = texop; in lower_cl_images_to_tex_impl()
75 tex->sampler_dim = glsl_get_sampler_dim(deref->type); in lower_cl_images_to_tex_impl()
76 tex->is_array = glsl_sampler_type_is_array(deref->type); in lower_cl_images_to_tex_impl()
77 tex->is_shadow = false; in lower_cl_images_to_tex_impl()
80 glsl_get_sampler_dim_coordinate_components(tex->sampler_dim); in lower_cl_images_to_tex_impl()
82 tex->coord_components++; in lower_cl_images_to_tex_impl()
84 tex->src[0].src_type = nir_tex_src_texture_deref; in lower_cl_images_to_tex_impl()
85 tex->src[0].src = nir_src_for_ssa(&deref->dest.ssa); in lower_cl_images_to_tex_impl()
90 tex->coord_components = coord_components; in lower_cl_images_to_tex_impl()
[all …]
Dnir_builtin_builder.c300 nir_get_texture_size(nir_builder *b, nir_tex_instr *tex) in nir_get_texture_size() argument
302 b->cursor = nir_before_instr(&tex->instr); in nir_get_texture_size()
307 for (unsigned i = 0; i < tex->num_srcs; i++) { in nir_get_texture_size()
308 if (tex->src[i].src_type == nir_tex_src_texture_deref || in nir_get_texture_size()
309 tex->src[i].src_type == nir_tex_src_sampler_deref || in nir_get_texture_size()
310 tex->src[i].src_type == nir_tex_src_texture_offset || in nir_get_texture_size()
311 tex->src[i].src_type == nir_tex_src_sampler_offset || in nir_get_texture_size()
312 tex->src[i].src_type == nir_tex_src_texture_handle || in nir_get_texture_size()
313 tex->src[i].src_type == nir_tex_src_sampler_handle) in nir_get_texture_size()
319 txs->sampler_dim = tex->sampler_dim; in nir_get_texture_size()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c181 static unsigned si_texture_get_offset(struct si_screen *sscreen, struct si_texture *tex, in si_texture_get_offset() argument
186 *stride = tex->surface.u.gfx9.surf_pitch * tex->surface.bpe; in si_texture_get_offset()
187 *layer_stride = tex->surface.u.gfx9.surf_slice_size; in si_texture_get_offset()
194 return tex->surface.u.gfx9.surf_offset + box->z * tex->surface.u.gfx9.surf_slice_size + in si_texture_get_offset()
195 tex->surface.u.gfx9.offset[level] + in si_texture_get_offset()
196 (box->y / tex->surface.blk_h * tex->surface.u.gfx9.surf_pitch + in si_texture_get_offset()
197 box->x / tex->surface.blk_w) * in si_texture_get_offset()
198 tex->surface.bpe; in si_texture_get_offset()
200 *stride = tex->surface.u.legacy.level[level].nblk_x * tex->surface.bpe; in si_texture_get_offset()
201 assert((uint64_t)tex->surface.u.legacy.level[level].slice_size_dw * 4 <= UINT_MAX); in si_texture_get_offset()
[all …]
Dsi_clear.c37 static void si_alloc_separate_cmask(struct si_screen *sscreen, struct si_texture *tex) in si_alloc_separate_cmask() argument
42 if (tex->cmask_buffer || !tex->surface.cmask_size || tex->buffer.b.b.nr_samples >= 2) in si_alloc_separate_cmask()
45 tex->cmask_buffer = in si_alloc_separate_cmask()
47 tex->surface.cmask_size, tex->surface.cmask_alignment); in si_alloc_separate_cmask()
48 if (tex->cmask_buffer == NULL) in si_alloc_separate_cmask()
51 tex->cmask_base_address_reg = tex->cmask_buffer->gpu_address >> 8; in si_alloc_separate_cmask()
52 tex->cb_color_info |= S_028C70_FAST_CLEAR(1); in si_alloc_separate_cmask()
57 static bool si_set_clear_color(struct si_texture *tex, enum pipe_format surface_format, in si_set_clear_color() argument
64 if (tex->surface.bpe == 16) { in si_set_clear_color()
76 if (memcmp(tex->color_clear_value, &uc, 2 * sizeof(uint32_t)) == 0) in si_set_clear_color()
[all …]
Dsi_blit.c134 surf_tmpl.u.tex.level = level; in si_blit_dbcb_copy()
140 surf_tmpl.u.tex.first_layer = layer; in si_blit_dbcb_copy()
141 surf_tmpl.u.tex.last_layer = layer; in si_blit_dbcb_copy()
204 surf_tmpl.u.tex.level = level; in si_blit_decompress_zs_planes_in_place()
212 surf_tmpl.u.tex.first_layer = layer; in si_blit_decompress_zs_planes_in_place()
213 surf_tmpl.u.tex.last_layer = layer; in si_blit_decompress_zs_planes_in_place()
272 static void si_decompress_depth(struct si_context *sctx, struct si_texture *tex, in si_decompress_depth() argument
283 levels_z = level_mask & tex->dirty_level_mask; in si_decompress_depth()
286 if (si_can_sample_zs(tex, false)) in si_decompress_depth()
293 levels_s = level_mask & tex->stencil_dirty_level_mask; in si_decompress_depth()
[all …]
/external/google-fruit/extras/doc/
DCMakeLists.txt8 add_custom_command(OUTPUT header.tex footer.tex
9 COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/common-header.tex header.tex
10 COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/common-footer.tex footer.tex
12 ${CMAKE_CURRENT_SOURCE_DIR}/common-header.tex
13 ${CMAKE_CURRENT_SOURCE_DIR}/common-footer.tex
17 bar_handler.tex
18 bind.tex
19 bind_instance.tex
20 cached_greeter.tex
21 cached_greeter_test.tex
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c133 i915_texture_set_level_info(struct i915_texture *tex, in i915_texture_set_level_info() argument
136 assert(level < ARRAY_SIZE(tex->nr_images)); in i915_texture_set_level_info()
138 assert(!tex->image_offset[level]); in i915_texture_set_level_info()
140 tex->nr_images[level] = nr_images; in i915_texture_set_level_info()
141 tex->image_offset[level] = MALLOC(nr_images * sizeof(struct offset_pair)); in i915_texture_set_level_info()
142 tex->image_offset[level][0].nblocksx = 0; in i915_texture_set_level_info()
143 tex->image_offset[level][0].nblocksy = 0; in i915_texture_set_level_info()
146 unsigned i915_texture_offset(const struct i915_texture *tex, in i915_texture_offset() argument
150 x = tex->image_offset[level][layer].nblocksx in i915_texture_offset()
151 * util_format_get_blocksize(tex->b.b.format); in i915_texture_offset()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.h161 struct svga_texture *tex = (struct svga_texture *)resource; in svga_texture() local
162 assert(tex == NULL || tex->b.vtbl == &svga_texture_vtbl); in svga_texture()
163 return tex; in svga_texture()
181 svga_age_texture_view(struct svga_texture *tex, unsigned level) in svga_age_texture_view() argument
183 assert(level < ARRAY_SIZE(tex->view_age)); in svga_age_texture_view()
184 tex->view_age[level] = ++(tex->age); in svga_age_texture_view()
190 check_face_level(const struct svga_texture *tex, in check_face_level() argument
193 if (tex->b.b.target == PIPE_TEXTURE_CUBE) { in check_face_level()
196 else if (tex->b.b.target == PIPE_TEXTURE_3D) { in check_face_level()
197 assert(face < tex->b.b.depth0); in check_face_level()
[all …]
Dsvga_resource_texture.c223 struct svga_texture *tex = svga_texture(pt); in svga_texture_destroy() local
227 svga_sampler_view_reference(&tex->cached_view, NULL); in svga_texture_destroy()
232 SVGA_DBG(DEBUG_DMA, "unref sid %p (texture)\n", tex->handle); in svga_texture_destroy()
233 svga_screen_surface_destroy(ss, &tex->key, &tex->handle); in svga_texture_destroy()
236 if (tex->backed_handle) in svga_texture_destroy()
237 svga_screen_surface_destroy(ss, &tex->backed_key, &tex->backed_handle); in svga_texture_destroy()
239 ss->hud.total_resource_bytes -= tex->size; in svga_texture_destroy()
241 FREE(tex->defined); in svga_texture_destroy()
242 FREE(tex->rendered_to); in svga_texture_destroy()
243 FREE(tex->dirty); in svga_texture_destroy()
[all …]
Dsvga_surface.c183 struct svga_texture *tex, in svga_texture_view_surface() argument
209 key->size.width = u_minify(tex->b.b.width0, start_mip); in svga_texture_view_surface()
210 key->size.height = u_minify(tex->b.b.height0, start_mip); in svga_texture_view_surface()
211 key->size.depth = zslice_pick < 0 ? u_minify(tex->b.b.depth0, start_mip) : 1; in svga_texture_view_surface()
217 key->sampleCount = tex->b.b.nr_samples > 1 ? tex->b.b.nr_samples : 0; in svga_texture_view_surface()
224 if (tex->b.b.target == PIPE_TEXTURE_CUBE && layer_pick < 0) { in svga_texture_view_surface()
227 } else if (tex->b.b.target == PIPE_TEXTURE_1D_ARRAY || in svga_texture_view_surface()
228 tex->b.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 …]
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_tex.cpp35 Instruction(tex), in TexInstruction()
84 assert(rhs.type() == tex); in is_equal_to()
140 static bool lower_coord_shift_normalized(nir_builder& b, nir_tex_instr *tex) in lower_coord_shift_normalized() argument
142 b.cursor = nir_before_instr(&tex->instr); in lower_coord_shift_normalized()
144 nir_ssa_def * size = nir_i2f32(&b, nir_get_texture_size(&b, tex)); in lower_coord_shift_normalized()
147 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_coord_shift_normalized()
150 tex->src[coord_index].src.ssa); in lower_coord_shift_normalized()
151 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_coord_shift_normalized()
156 static bool lower_coord_shift_unnormalized(nir_builder& b, nir_tex_instr *tex) in lower_coord_shift_unnormalized() argument
158 b.cursor = nir_before_instr(&tex->instr); in lower_coord_shift_unnormalized()
[all …]
/external/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tex_prefetch.c108 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 …]
Dir3_nir_lower_tg4_to_tex.c45 nir_tex_instr *tex = nir_tex_instr_create(b->shader, num_srcs); in ir3_nir_lower_tg4_to_tex_instr() local
46 tex->op = nir_texop_txl; in ir3_nir_lower_tg4_to_tex_instr()
47 tex->sampler_dim = tg4->sampler_dim; in ir3_nir_lower_tg4_to_tex_instr()
48 tex->coord_components = tg4->coord_components; in ir3_nir_lower_tg4_to_tex_instr()
49 tex->is_array = tg4->is_array; in ir3_nir_lower_tg4_to_tex_instr()
50 tex->is_shadow = tg4->is_shadow; in ir3_nir_lower_tg4_to_tex_instr()
51 tex->is_new_style_shadow = tg4->is_new_style_shadow; in ir3_nir_lower_tg4_to_tex_instr()
52 tex->texture_index = tg4->texture_index; in ir3_nir_lower_tg4_to_tex_instr()
53 tex->sampler_index = tg4->sampler_index; in ir3_nir_lower_tg4_to_tex_instr()
54 tex->dest_type = tg4->dest_type; in ir3_nir_lower_tg4_to_tex_instr()
[all …]
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_surface.c31 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 …]
/external/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c44 nir_tex_instr *tex = nir_tex_instr_create(b->shader, 1); in get_texture_size() local
46 tex->op = nir_texop_txs; in get_texture_size()
47 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size()
48 tex->is_array = glsl_sampler_type_is_array(type); in get_texture_size()
49 tex->is_shadow = glsl_sampler_type_is_shadow(type); in get_texture_size()
50 tex->dest_type = nir_type_int; in get_texture_size()
52 tex->src[0].src_type = nir_tex_src_texture_deref; in get_texture_size()
53 tex->src[0].src = nir_src_for_ssa(&texture->dest.ssa); in get_texture_size()
55 nir_ssa_dest_init(&tex->instr, &tex->dest, in get_texture_size()
56 nir_tex_instr_dest_size(tex), 32, NULL); in get_texture_size()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c47 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_int; 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 …]
/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc.c267 GLubyte tex[4]; in fetch_rgb_dxt1() local
268 fetch_2d_texel_rgb_dxt1(rowStride, map, i, j, tex); in fetch_rgb_dxt1()
269 texel[RCOMP] = UBYTE_TO_FLOAT(tex[RCOMP]); in fetch_rgb_dxt1()
270 texel[GCOMP] = UBYTE_TO_FLOAT(tex[GCOMP]); in fetch_rgb_dxt1()
271 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]); in fetch_rgb_dxt1()
272 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); in fetch_rgb_dxt1()
279 GLubyte tex[4]; in fetch_rgba_dxt1() local
280 fetch_2d_texel_rgba_dxt1(rowStride, map, i, j, tex); in fetch_rgba_dxt1()
281 texel[RCOMP] = UBYTE_TO_FLOAT(tex[RCOMP]); in fetch_rgba_dxt1()
282 texel[GCOMP] = UBYTE_TO_FLOAT(tex[GCOMP]); in fetch_rgba_dxt1()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_texture.c51 static void bind_sampler_states(struct fd_texture_stateobj *tex, in bind_sampler_states() argument
58 tex->samplers[p] = hwcso[i]; in bind_sampler_states()
59 if (tex->samplers[p]) in bind_sampler_states()
60 tex->valid_samplers |= (1 << p); in bind_sampler_states()
62 tex->valid_samplers &= ~(1 << p); in bind_sampler_states()
65 tex->num_samplers = util_last_bit(tex->valid_samplers); in bind_sampler_states()
68 static void set_sampler_views(struct fd_texture_stateobj *tex, in set_sampler_views() argument
77 pipe_sampler_view_reference(&tex->textures[p], view); in set_sampler_views()
78 if (tex->textures[p]) { in set_sampler_views()
79 fd_resource_set_usage(tex->textures[p]->texture, FD_DIRTY_TEX); in set_sampler_views()
[all …]
/external/angle/src/tests/gl_tests/
DTextureRectangleTest.cpp56 GLTexture tex; in TEST_P() local
57 glBindTexture(GL_TEXTURE_RECTANGLE_ANGLE, tex); in TEST_P()
101 GLTexture tex; in TEST_P() local
102 glBindTexture(GL_TEXTURE_2D, tex); in TEST_P()
110 GLTexture tex; in TEST_P() local
111 glBindTexture(GL_TEXTURE_RECTANGLE_ANGLE, tex); in TEST_P()
143 GLTexture tex; in TEST_P() local
144 glBindTexture(GL_TEXTURE_RECTANGLE_ANGLE, tex); in TEST_P()
151 GLTexture tex; in TEST_P() local
152 glBindTexture(GL_TEXTURE_RECTANGLE_ANGLE, tex); in TEST_P()
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.flattenOpaqueInitMix.vert.out7 0:5 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f})
12 0:6 tex: direct index for structure ( temp texture2D)
13 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f})
17 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f})
22 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f})
26 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f})
33 …cond child to first child ( temp structure{ temp sampler smpl, temp texture2D tex, temp float f})
34 0:11 'tex' ( temp structure{ temp sampler smpl, temp texture2D tex, temp float f})
35 0:11 Construct structure ( temp structure{ temp sampler smpl, temp texture2D tex, temp f…
42 0:12 'tex' ( temp structure{ temp sampler smpl, temp texture2D tex, temp float f})
[all …]

12345678910>>...40