/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
D | shader.c | 44 struct shader { struct 64 struct shader * shader_create(struct vg_context *ctx) in shader_create() argument 66 struct shader *shader = 0; in shader_create() local 68 shader = CALLOC_STRUCT(shader); in shader_create() 69 shader->context = ctx; in shader_create() 71 return shader; in shader_create() 74 void shader_destroy(struct shader *shader) in shader_destroy() argument 76 FREE(shader); in shader_destroy() 79 void shader_set_color_transform(struct shader *shader, VGboolean set) in shader_set_color_transform() argument 81 shader->color_transform = set; in shader_set_color_transform() [all …]
|
D | shader.h | 32 struct shader; 38 struct shader *shader_create(struct vg_context *context); 39 void shader_destroy(struct shader *shader); 41 void shader_set_color_transform(struct shader *shader, VGboolean set); 43 void shader_set_masking(struct shader *shader, VGboolean set); 44 VGboolean shader_is_masking(struct shader *shader); 46 void shader_set_paint(struct shader *shader, struct vg_paint *paint); 47 struct vg_paint *shader_paint(struct shader *shader); 49 void shader_set_image_mode(struct shader *shader, VGImageMode image_mode); 50 VGImageMode shader_image_mode(struct shader *shader); [all …]
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | shader.c | 44 struct shader { struct 64 struct shader * shader_create(struct vg_context *ctx) in shader_create() argument 66 struct shader *shader = 0; in shader_create() local 68 shader = CALLOC_STRUCT(shader); in shader_create() 69 shader->context = ctx; in shader_create() 71 return shader; in shader_create() 74 void shader_destroy(struct shader *shader) in shader_destroy() argument 76 FREE(shader); in shader_destroy() 79 void shader_set_color_transform(struct shader *shader, VGboolean set) in shader_set_color_transform() argument 81 shader->color_transform = set; in shader_set_color_transform() [all …]
|
D | shader.h | 32 struct shader; 38 struct shader *shader_create(struct vg_context *context); 39 void shader_destroy(struct shader *shader); 41 void shader_set_color_transform(struct shader *shader, VGboolean set); 43 void shader_set_masking(struct shader *shader, VGboolean set); 44 VGboolean shader_is_masking(struct shader *shader); 46 void shader_set_paint(struct shader *shader, struct vg_paint *paint); 47 struct vg_paint *shader_paint(struct shader *shader); 49 void shader_set_image_mode(struct shader *shader, VGImageMode image_mode); 50 VGImageMode shader_image_mode(struct shader *shader); [all …]
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_mc.c | 53 calc_position(struct vl_mc *r, struct ureg_program *shader, struct ureg_src block_scale) in calc_position() argument 59 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); in calc_position() 60 vpos = ureg_DECL_vs_input(shader, VS_I_VPOS); in calc_position() 62 t_vpos = ureg_DECL_temporary(shader); in calc_position() 64 o_vpos = ureg_DECL_output(shader, TGSI_SEMANTIC_POSITION, VS_O_VPOS); in calc_position() 73 ureg_ADD(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), vpos, vrect); in calc_position() 74 ureg_MUL(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos), block_scale); in calc_position() 75 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos)); in calc_position() 76 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_ZW), ureg_imm1f(shader, 1.0f)); in calc_position() 82 calc_line(struct ureg_program *shader) in calc_line() argument [all …]
|
D | vl_idct.c | 72 calc_addr(struct ureg_program *shader, struct ureg_dst addr[2], in calc_addr() argument 88 ureg_MOV(shader, ureg_writemask(addr[0], wm_start), ureg_scalar(start, sw_start)); in calc_addr() 89 ureg_MOV(shader, ureg_writemask(addr[0], wm_tc), ureg_scalar(tc, sw_tc)); in calc_addr() 91 …ureg_ADD(shader, ureg_writemask(addr[1], wm_start), ureg_scalar(start, sw_start), ureg_imm1f(shade… in calc_addr() 92 ureg_MOV(shader, ureg_writemask(addr[1], wm_tc), ureg_scalar(tc, sw_tc)); in calc_addr() 96 increment_addr(struct ureg_program *shader, struct ureg_dst daddr[2], in increment_addr() argument 108 ureg_MOV(shader, ureg_writemask(daddr[0], wm_start), saddr[0]); in increment_addr() 109 ureg_ADD(shader, ureg_writemask(daddr[0], wm_tc), saddr[0], ureg_imm1f(shader, pos / size)); in increment_addr() 110 ureg_MOV(shader, ureg_writemask(daddr[1], wm_start), saddr[1]); in increment_addr() 111 ureg_ADD(shader, ureg_writemask(daddr[1], wm_tc), saddr[1], ureg_imm1f(shader, pos / size)); in increment_addr() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
D | vl_mc.c | 53 calc_position(struct vl_mc *r, struct ureg_program *shader, struct ureg_src block_scale) in calc_position() argument 59 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); in calc_position() 60 vpos = ureg_DECL_vs_input(shader, VS_I_VPOS); in calc_position() 62 t_vpos = ureg_DECL_temporary(shader); in calc_position() 64 o_vpos = ureg_DECL_output(shader, TGSI_SEMANTIC_POSITION, VS_O_VPOS); in calc_position() 73 ureg_ADD(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), vpos, vrect); in calc_position() 74 ureg_MUL(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos), block_scale); in calc_position() 75 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos)); in calc_position() 76 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_ZW), ureg_imm1f(shader, 1.0f)); in calc_position() 82 calc_line(struct ureg_program *shader) in calc_line() argument [all …]
|
D | vl_idct.c | 72 calc_addr(struct ureg_program *shader, struct ureg_dst addr[2], in calc_addr() argument 88 ureg_MOV(shader, ureg_writemask(addr[0], wm_start), ureg_scalar(start, sw_start)); in calc_addr() 89 ureg_MOV(shader, ureg_writemask(addr[0], wm_tc), ureg_scalar(tc, sw_tc)); in calc_addr() 91 …ureg_ADD(shader, ureg_writemask(addr[1], wm_start), ureg_scalar(start, sw_start), ureg_imm1f(shade… in calc_addr() 92 ureg_MOV(shader, ureg_writemask(addr[1], wm_tc), ureg_scalar(tc, sw_tc)); in calc_addr() 96 increment_addr(struct ureg_program *shader, struct ureg_dst daddr[2], in increment_addr() argument 108 ureg_MOV(shader, ureg_writemask(daddr[0], wm_start), saddr[0]); in increment_addr() 109 ureg_ADD(shader, ureg_writemask(daddr[0], wm_tc), saddr[0], ureg_imm1f(shader, pos / size)); in increment_addr() 110 ureg_MOV(shader, ureg_writemask(daddr[1], wm_start), saddr[1]); in increment_addr() 111 ureg_ADD(shader, ureg_writemask(daddr[1], wm_tc), saddr[1], ureg_imm1f(shader, pos / size)); in increment_addr() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_gs.c | 164 draw_geometry_fetch_outputs(struct draw_geometry_shader *shader, in draw_geometry_fetch_outputs() argument 168 struct tgsi_exec_machine *machine = shader->machine; in draw_geometry_fetch_outputs() 179 shader->primitive_lengths[prim_idx + shader->emitted_primitives] = in draw_geometry_fetch_outputs() 181 shader->emitted_vertices += num_verts_per_prim; in draw_geometry_fetch_outputs() 184 shader->info.num_outputs; in draw_geometry_fetch_outputs() 186 debug_printf("%d) Output vert:\n", idx / shader->info.num_outputs); in draw_geometry_fetch_outputs() 188 for (slot = 0; slot < shader->info.num_outputs; slot++) { in draw_geometry_fetch_outputs() 202 output = (float (*)[4])((char *)output + shader->vertex_size); in draw_geometry_fetch_outputs() 206 shader->emitted_primitives += num_primitives; in draw_geometry_fetch_outputs() 210 static void draw_fetch_gs_input(struct draw_geometry_shader *shader, in draw_fetch_gs_input() argument [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
D | draw_gs.c | 164 draw_geometry_fetch_outputs(struct draw_geometry_shader *shader, in draw_geometry_fetch_outputs() argument 168 struct tgsi_exec_machine *machine = shader->machine; in draw_geometry_fetch_outputs() 179 shader->primitive_lengths[prim_idx + shader->emitted_primitives] = in draw_geometry_fetch_outputs() 181 shader->emitted_vertices += num_verts_per_prim; in draw_geometry_fetch_outputs() 184 shader->info.num_outputs; in draw_geometry_fetch_outputs() 186 debug_printf("%d) Output vert:\n", idx / shader->info.num_outputs); in draw_geometry_fetch_outputs() 188 for (slot = 0; slot < shader->info.num_outputs; slot++) { in draw_geometry_fetch_outputs() 202 output = (float (*)[4])((char *)output + shader->vertex_size); in draw_geometry_fetch_outputs() 206 shader->emitted_primitives += num_primitives; in draw_geometry_fetch_outputs() 210 static void draw_fetch_gs_input(struct draw_geometry_shader *shader, in draw_fetch_gs_input() argument [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
D | brw_shader.cpp | 36 struct brw_shader *shader; in brw_new_shader() local 38 shader = rzalloc(NULL, struct brw_shader); in brw_new_shader() 39 if (shader) { in brw_new_shader() 40 shader->base.Type = type; in brw_new_shader() 41 shader->base.Name = name; in brw_new_shader() 42 _mesa_init_shader(ctx, &shader->base); in brw_new_shader() 45 return &shader->base; in brw_new_shader() 87 struct brw_shader *shader = in brw_link_shader() local 95 if (!shader) in brw_link_shader() 99 ctx->Driver.NewProgram(ctx, targets[stage], shader->base.Name); in brw_link_shader() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_shader.cpp | 36 struct brw_shader *shader; in brw_new_shader() local 38 shader = rzalloc(NULL, struct brw_shader); in brw_new_shader() 39 if (shader) { in brw_new_shader() 40 shader->base.Type = type; in brw_new_shader() 41 shader->base.Name = name; in brw_new_shader() 42 _mesa_init_shader(ctx, &shader->base); in brw_new_shader() 45 return &shader->base; in brw_new_shader() 87 struct brw_shader *shader = in brw_link_shader() local 95 if (!shader) in brw_link_shader() 99 ctx->Driver.NewProgram(ctx, targets[stage], shader->base.Name); in brw_link_shader() [all …]
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
D | main.cpp | 141 compile_shader(struct gl_context *ctx, struct gl_shader *shader) in compile_shader() argument 144 new(shader) _mesa_glsl_parse_state(ctx, shader->Type, shader); in compile_shader() 146 const char *source = shader->Source; in compile_shader() 164 shader->ir = new(shader) exec_list; in compile_shader() 166 _mesa_ast_to_hir(shader->ir, state); in compile_shader() 170 validate_ir_tree(shader->ir); in compile_shader() 171 _mesa_print_ir(shader->ir, state); in compile_shader() 175 if (!state->error && !shader->ir->is_empty()) { in compile_shader() 178 progress = do_common_optimization(shader->ir, false, false, 32); in compile_shader() 181 validate_ir_tree(shader->ir); in compile_shader() [all …]
|
/external/mesa3d/src/glsl/ |
D | main.cpp | 141 compile_shader(struct gl_context *ctx, struct gl_shader *shader) in compile_shader() argument 144 new(shader) _mesa_glsl_parse_state(ctx, shader->Type, shader); in compile_shader() 146 const char *source = shader->Source; in compile_shader() 164 shader->ir = new(shader) exec_list; in compile_shader() 166 _mesa_ast_to_hir(shader->ir, state); in compile_shader() 170 validate_ir_tree(shader->ir); in compile_shader() 171 _mesa_print_ir(shader->ir, state); in compile_shader() 175 if (!state->error && !shader->ir->is_empty()) { in compile_shader() 178 progress = do_common_optimization(shader->ir, false, false, 32); in compile_shader() 181 validate_ir_tree(shader->ir); in compile_shader() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceDefinitionUtil.cpp | 440 …iablePathComponent>& typePath, const ProgramInterfaceDefinition::Shader* shader, const std::string… in traverseShaderVariablePath() argument 443 for (int varNdx = 0; varNdx < (int)shader->getDefaultBlock().variables.size(); ++varNdx) in traverseShaderVariablePath() 444 if (filter.matchesFilter(shader->getDefaultBlock().variables[varNdx])) in traverseShaderVariablePath() 445 if (traverseVariablePath(typePath, path, shader->getDefaultBlock().variables[varNdx])) in traverseShaderVariablePath() 452 …for (int interfaceNdx = 0; interfaceNdx < (int)shader->getDefaultBlock().interfaceBlocks.size(); +… in traverseShaderVariablePath() 454 if (!filter.matchesFilter(shader->getDefaultBlock().interfaceBlocks[interfaceNdx])) in traverseShaderVariablePath() 457 if (shader->getDefaultBlock().interfaceBlocks[interfaceNdx].interfaceName == blockName) in traverseShaderVariablePath() 464 …for (int varNdx = 0; varNdx < (int)shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variabl… in traverseShaderVariablePath() 466 …if (shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variables[varNdx].name == blockMemeber… in traverseShaderVariablePath() 468 …typePath.push_back(VariablePathComponent(&shader->getDefaultBlock().interfaceBlocks[interfaceNdx])… in traverseShaderVariablePath() [all …]
|
/external/mesa3d/src/glsl/glcpp/ |
D | pp.c | 75 in_directive(const char *shader, const char *ptr) in in_directive() argument 77 assert(ptr >= shader); in in_directive() 80 for (; ptr >= shader && *ptr != '#'; ptr--) { in in_directive() 84 if (ptr >= shader) { in in_directive() 86 for (ptr--; ptr >= shader && isblank(*ptr); ptr--); in in_directive() 88 if (ptr < shader || *ptr == '\n') in in_directive() 99 remove_line_continuations(glcpp_parser_t *ctx, const char *shader) in remove_line_continuations() argument 104 const char *search_start = shader; in remove_line_continuations() 110 int n = newline - shader; in remove_line_continuations() 126 if (in_directive(shader, backslash)) { in remove_line_continuations() [all …]
|
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/ |
D | pp.c | 75 in_directive(const char *shader, const char *ptr) in in_directive() argument 77 assert(ptr >= shader); in in_directive() 80 for (; ptr >= shader && *ptr != '#'; ptr--) { in in_directive() 84 if (ptr >= shader) { in in_directive() 86 for (ptr--; ptr >= shader && isblank(*ptr); ptr--); in in_directive() 88 if (ptr < shader || *ptr == '\n') in in_directive() 99 remove_line_continuations(glcpp_parser_t *ctx, const char *shader) in remove_line_continuations() argument 104 const char *search_start = shader; in remove_line_continuations() 110 int n = newline - shader; in remove_line_continuations() 126 if (in_directive(shader, backslash)) { in remove_line_continuations() [all …]
|
/external/chromium_org/gpu/command_buffer/service/ |
D | shader_manager.cc | 102 Shader* shader = shaders_.begin()->second.get(); in Destroy() local 103 if (!shader->IsDeleted()) { in Destroy() 104 glDeleteShader(shader->service_id()); in Destroy() 105 shader->MarkAsDeleted(); in Destroy() 141 bool ShaderManager::IsOwned(Shader* shader) { in IsOwned() argument 144 if (it->second.get() == shader) { in IsOwned() 151 void ShaderManager::RemoveShader(Shader* shader) { in RemoveShader() argument 152 DCHECK(shader); in RemoveShader() 153 DCHECK(IsOwned(shader)); in RemoveShader() 154 if (shader->IsDeleted() && !shader->InUse()) { in RemoveShader() [all …]
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_sampler.c | 74 unsigned shader, in softpipe_bind_sampler_states() argument 82 assert(shader < PIPE_SHADER_TYPES); in softpipe_bind_sampler_states() 83 assert(start + num <= Elements(softpipe->samplers[shader])); in softpipe_bind_sampler_states() 86 if (start + num <= softpipe->num_samplers[shader] && in softpipe_bind_sampler_states() 87 !memcmp(softpipe->samplers[shader] + start, samplers, in softpipe_bind_sampler_states() 96 softpipe->samplers[shader][start + i] = samplers[i]; in softpipe_bind_sampler_states() 101 unsigned j = MAX2(softpipe->num_samplers[shader], start + num); in softpipe_bind_sampler_states() 102 while (j > 0 && softpipe->samplers[shader][j - 1] == NULL) in softpipe_bind_sampler_states() 104 softpipe->num_samplers[shader] = j; in softpipe_bind_sampler_states() 107 if (shader == PIPE_SHADER_VERTEX || shader == PIPE_SHADER_GEOMETRY) { in softpipe_bind_sampler_states() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
D | sp_state_sampler.c | 74 unsigned shader, in softpipe_bind_sampler_states() argument 82 assert(shader < PIPE_SHADER_TYPES); in softpipe_bind_sampler_states() 83 assert(start + num <= Elements(softpipe->samplers[shader])); in softpipe_bind_sampler_states() 86 if (start + num <= softpipe->num_samplers[shader] && in softpipe_bind_sampler_states() 87 !memcmp(softpipe->samplers[shader] + start, samplers, in softpipe_bind_sampler_states() 96 softpipe->samplers[shader][start + i] = samplers[i]; in softpipe_bind_sampler_states() 101 unsigned j = MAX2(softpipe->num_samplers[shader], start + num); in softpipe_bind_sampler_states() 102 while (j > 0 && softpipe->samplers[shader][j - 1] == NULL) in softpipe_bind_sampler_states() 104 softpipe->num_samplers[shader] = j; in softpipe_bind_sampler_states() 107 if (shader == PIPE_SHADER_VERTEX || shader == PIPE_SHADER_GEOMETRY) { in softpipe_bind_sampler_states() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
D | r300_fs.c | 89 struct r300_fragment_shader_code *shader) in find_output_registers() argument 94 compiler->OutputColor[0] = shader->info.num_outputs; in find_output_registers() 95 compiler->OutputColor[1] = shader->info.num_outputs; in find_output_registers() 96 compiler->OutputColor[2] = shader->info.num_outputs; in find_output_registers() 97 compiler->OutputColor[3] = shader->info.num_outputs; in find_output_registers() 98 compiler->OutputDepth = shader->info.num_outputs; in find_output_registers() 101 for(i = 0; i < shader->info.num_outputs; ++i) { in find_output_registers() 102 switch(shader->info.output_semantic_name[i]) { in find_output_registers() 223 struct r300_fragment_shader_code* shader, 228 struct r300_fragment_shader_code* shader) in r300_dummy_fragment_shader() argument [all …]
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_fs.c | 89 struct r300_fragment_shader_code *shader) in find_output_registers() argument 94 compiler->OutputColor[0] = shader->info.num_outputs; in find_output_registers() 95 compiler->OutputColor[1] = shader->info.num_outputs; in find_output_registers() 96 compiler->OutputColor[2] = shader->info.num_outputs; in find_output_registers() 97 compiler->OutputColor[3] = shader->info.num_outputs; in find_output_registers() 98 compiler->OutputDepth = shader->info.num_outputs; in find_output_registers() 101 for(i = 0; i < shader->info.num_outputs; ++i) { in find_output_registers() 102 switch(shader->info.output_semantic_name[i]) { in find_output_registers() 223 struct r300_fragment_shader_code* shader, 228 struct r300_fragment_shader_code* shader) in r300_dummy_fragment_shader() argument [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
D | si_state_draw.c | 40 static void si_pipe_shader_vs(struct pipe_context *ctx, struct si_pipe_shader *shader) in si_pipe_shader_vs() argument 48 if (si_pipe_shader_create(ctx, shader)) in si_pipe_shader_vs() 51 si_pm4_delete_state(rctx, vs, shader->pm4); in si_pipe_shader_vs() 52 pm4 = shader->pm4 = CALLOC_STRUCT(si_pm4_state); in si_pipe_shader_vs() 60 for (nparams = 0, i = 0 ; i < shader->shader.noutput; i++) { in si_pipe_shader_vs() 61 if (shader->shader.output[i].name != TGSI_SEMANTIC_POSITION) in si_pipe_shader_vs() 76 va = r600_resource_va(ctx->screen, (void *)shader->bo); in si_pipe_shader_vs() 77 si_pm4_add_bo(pm4, shader->bo, RADEON_USAGE_READ); in si_pipe_shader_vs() 82 num_sgprs = shader->num_sgprs; in si_pipe_shader_vs() 90 S_00B128_VGPRS((shader->num_vgprs - 1) / 4) | in si_pipe_shader_vs() [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_draw.c | 40 static void si_pipe_shader_vs(struct pipe_context *ctx, struct si_pipe_shader *shader) in si_pipe_shader_vs() argument 48 if (si_pipe_shader_create(ctx, shader)) in si_pipe_shader_vs() 51 si_pm4_delete_state(rctx, vs, shader->pm4); in si_pipe_shader_vs() 52 pm4 = shader->pm4 = CALLOC_STRUCT(si_pm4_state); in si_pipe_shader_vs() 60 for (nparams = 0, i = 0 ; i < shader->shader.noutput; i++) { in si_pipe_shader_vs() 61 if (shader->shader.output[i].name != TGSI_SEMANTIC_POSITION) in si_pipe_shader_vs() 76 va = r600_resource_va(ctx->screen, (void *)shader->bo); in si_pipe_shader_vs() 77 si_pm4_add_bo(pm4, shader->bo, RADEON_USAGE_READ); in si_pipe_shader_vs() 82 num_sgprs = shader->num_sgprs; in si_pipe_shader_vs() 90 S_00B128_VGPRS((shader->num_vgprs - 1) / 4) | in si_pipe_shader_vs() [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_sampler.c | 69 unsigned shader, in llvmpipe_bind_sampler_states() argument 77 assert(shader < PIPE_SHADER_TYPES); in llvmpipe_bind_sampler_states() 78 assert(start + num <= Elements(llvmpipe->samplers[shader])); in llvmpipe_bind_sampler_states() 81 if (start + num <= llvmpipe->num_samplers[shader] && in llvmpipe_bind_sampler_states() 82 !memcmp(llvmpipe->samplers[shader] + start, samplers, in llvmpipe_bind_sampler_states() 91 llvmpipe->samplers[shader][start + i] = samplers[i]; in llvmpipe_bind_sampler_states() 96 unsigned j = MAX2(llvmpipe->num_samplers[shader], start + num); in llvmpipe_bind_sampler_states() 97 while (j > 0 && llvmpipe->samplers[shader][j - 1] == NULL) in llvmpipe_bind_sampler_states() 99 llvmpipe->num_samplers[shader] = j; in llvmpipe_bind_sampler_states() 102 if (shader == PIPE_SHADER_VERTEX || shader == PIPE_SHADER_GEOMETRY) { in llvmpipe_bind_sampler_states() [all …]
|