Home
last modified time | relevance | path

Searched refs:flatshade (Results 1 – 25 of 82) sorted by relevance

1234

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_flatshade.c214 indexed_interp[0] = indexed_interp[1] = draw->rasterizer->flatshade ? in flatshade_init_state()
311 struct flat_stage *flatshade = CALLOC_STRUCT(flat_stage); in draw_flatshade_stage() local
312 if (!flatshade) in draw_flatshade_stage()
315 flatshade->stage.draw = draw; in draw_flatshade_stage()
316 flatshade->stage.name = "flatshade"; in draw_flatshade_stage()
317 flatshade->stage.next = NULL; in draw_flatshade_stage()
318 flatshade->stage.point = draw_pipe_passthrough_point; in draw_flatshade_stage()
319 flatshade->stage.line = flatshade_first_line; in draw_flatshade_stage()
320 flatshade->stage.tri = flatshade_first_tri; in draw_flatshade_stage()
321 flatshade->stage.flush = flatshade_flush; in draw_flatshade_stage()
[all …]
Ddraw_pipe.c50 draw->pipeline.flatshade = draw_flatshade_stage( draw ); in draw_pipeline_init()
62 !draw->pipeline.flatshade || in draw_pipeline_init()
94 if (draw->pipeline.flatshade) in draw_pipeline_destroy()
95 draw->pipeline.flatshade->destroy( draw->pipeline.flatshade ); in draw_pipeline_destroy()
Ddraw_pt_decompose.h6 !(draw->rasterizer->flatshade && \
Ddraw_context.c929 boolean flatshade ) in draw_get_rasterizer_no_cull() argument
931 if (!draw->rasterizer_no_cull[scissor][flatshade]) { in draw_get_rasterizer_no_cull()
938 rast.flatshade = flatshade; in draw_get_rasterizer_no_cull()
944 draw->rasterizer_no_cull[scissor][flatshade] = in draw_get_rasterizer_no_cull()
947 return draw->rasterizer_no_cull[scissor][flatshade]; in draw_get_rasterizer_no_cull()
Ddraw_pipe_validate.c229 draw->pipeline.flatshade->next = next; in validate_pipeline()
230 next = draw->pipeline.flatshade; in validate_pipeline()
Ddraw_private.h122 struct draw_stage *flatshade; member
481 boolean flatshade );
/external/deqp/framework/opengl/simplereference/
DsglrShaderProgram.hpp67 …(rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), flatshade((flags & VARYING… in VertexToFragmentVarying()
70 bool flatshade; member
75 …(rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), flatshade((flags & VARYING… in VertexToGeometryVarying()
78 bool flatshade; member
83 …(rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), flatshade((flags & VARYING… in GeometryToFragmentVarying()
86 bool flatshade; member
DsglrShaderProgram.cpp164 … this->rr::VertexShader::m_outputs[ndx].flatshade = decl.m_vertexToGeometryVaryings[ndx].flatshade; in ShaderProgram()
171 …this->rr::GeometryShader::m_outputs[ndx].flatshade = decl.m_geometryToFragmentVaryings[ndx].flatsh… in ShaderProgram()
181 … this->rr::VertexShader::m_outputs[ndx].flatshade = decl.m_vertexToFragmentVaryings[ndx].flatshade; in ShaderProgram()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_rasterizer.c43 bool flatshade = ctx->screen->model < 880 ? so->flatshade : false; in etna_rasterizer_state_create() local
54 …cs->PA_CONFIG = (flatshade ? VIVS_PA_CONFIG_SHADE_MODEL_FLAT : VIVS_PA_CONFIG_SHADE_MODEL_SMOOTH) | in etna_rasterizer_state_create()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_shader_state.c111 if (has_explicit_color && fp->fp.flatshade != rast->flatshade) { in nvc0_fragprog_validate()
116 fp->fp.flatshade = rast->flatshade; in nvc0_fragprog_validate()
122 hwflatshade = rast->flatshade; in nvc0_fragprog_validate()
127 fp->fp.flatshade = 0; in nvc0_fragprog_validate()
130 if (hwflatshade != nvc0->state.flatshade) { in nvc0_fragprog_validate()
131 nvc0->state.flatshade = hwflatshade; in nvc0_fragprog_validate()
Dnvc0_program.h51 bool flatshade; member
/external/deqp/framework/referencerenderer/
DrrShaders.hpp60 flatshade = false; in VertexVaryingInfo()
67 flatshade == other.flatshade; in operator ==()
71 bool flatshade; member
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_program.c380 uint32_t vinterp[4], flatshade[2], vpsrepl[4]; in fd3_program_emit() local
383 memset(flatshade, 0, sizeof(flatshade)); in fd3_program_emit()
403 flatshade[loc / 32] |= 1 << (loc % 32); in fd3_program_emit()
468 OUT_RING(ring, flatshade[0]); /* SP_FS_FLAT_SHAD_MODE_REG_0 */ in fd3_program_emit()
469 OUT_RING(ring, flatshade[1]); /* SP_FS_FLAT_SHAD_MODE_REG_1 */ in fd3_program_emit()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_draw.c136 .rasterflat = ctx->rasterizer->flatshade, in fd4_draw_vbo()
151 .rasterflat = ctx->rasterizer->flatshade, in fd4_draw_vbo()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_target.h63 force_persample_interp(force), flatshade(flat), alphatest(alphatest) {} in FixupData()
65 bool flatshade; member
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_draw.c75 svga->curr.rast->templ.flatshade || in retry_draw_range_elements()
127 svga->curr.rast->templ.flatshade || in retry_draw_arrays()
Dsvga_draw.h45 boolean flatshade, boolean flatshade_first);
Dsvga_pipe_rasterizer.c187 rast->shademode = svga_translate_flatshade(templ->flatshade); in svga_create_rasterizer_state()
304 (templ->flatshade || in svga_create_rasterizer_state()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.h76 unsigned flatshade:1; member
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.h144 unsigned flatshade; member
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_draw.c129 .rasterflat = ctx->rasterizer->flatshade, in fd5_draw_vbo()
144 .rasterflat = ctx->rasterizer->flatshade, in fd5_draw_vbo()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_fs.c82 machine->flatshade_color = softpipe->rasterizer->flatshade ? TRUE : FALSE; in shade_quad()
/external/mesa3d/src/gallium/tests/graw/
Dtri-large.c133 rasterizer.flatshade = FlatShade; in init()
Dtri.c130 rasterizer.flatshade = FlatShade; in init()
/external/mesa3d/src/gallium/drivers/ilo/shader/
Dilo_shader_internal.h59 bool flatshade; member

1234