Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_flatshade.c215 indexed_interp[0] = indexed_interp[1] = draw->rasterizer->flatshade ? in flatshade_init_state()
242 (interp == TGSI_INTERPOLATE_COLOR && draw->rasterizer->flatshade)) { in flatshade_init_state()
314 struct flat_stage *flatshade = CALLOC_STRUCT(flat_stage); in draw_flatshade_stage() local
315 if (!flatshade) in draw_flatshade_stage()
318 flatshade->stage.draw = draw; in draw_flatshade_stage()
319 flatshade->stage.name = "flatshade"; in draw_flatshade_stage()
320 flatshade->stage.next = NULL; in draw_flatshade_stage()
321 flatshade->stage.point = draw_pipe_passthrough_point; in draw_flatshade_stage()
322 flatshade->stage.line = flatshade_first_line; in draw_flatshade_stage()
323 flatshade->stage.tri = flatshade_first_tri; 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_context.c925 boolean flatshade ) in draw_get_rasterizer_no_cull() argument
927 if (!draw->rasterizer_no_cull[scissor][flatshade]) { in draw_get_rasterizer_no_cull()
934 rast.flatshade = flatshade; in draw_get_rasterizer_no_cull()
940 draw->rasterizer_no_cull[scissor][flatshade] = in draw_get_rasterizer_no_cull()
943 return draw->rasterizer_no_cull[scissor][flatshade]; in draw_get_rasterizer_no_cull()
Ddraw_pt_decompose.h6 !(draw->rasterizer->flatshade && \
Ddraw_private.h122 struct draw_stage *flatshade; member
481 boolean flatshade );
Ddraw_pipe_validate.c230 draw->pipeline.flatshade->next = next; in validate_pipeline()
231 next = draw->pipeline.flatshade; in validate_pipeline()
/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/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/virglrenderer/src/
Dvrend_shader.h94 bool flatshade; member
118 const char *oprefix, bool flatshade);
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_draw.c115 .rasterflat = ctx->rasterizer->flatshade, in fd4_draw_vbo()
130 .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
Dnv50_ir_driver.h210 bool force_per_sample, bool flatshade,
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_draw.c85 svga->curr.rast->templ.flatshade || in retry_draw_range_elements()
137 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()
303 (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/etnaviv/
Detnaviv_rasterizer.c50 …cs->PA_CONFIG = (so->flatshade ? VIVS_PA_CONFIG_SHADE_MODEL_FLAT : VIVS_PA_CONFIG_SHADE_MODEL_SMOO… in etna_rasterizer_state_create()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.h171 unsigned flatshade; member
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_fs.c74 machine->flatshade_color = softpipe->rasterizer->flatshade ? TRUE : FALSE; in shade_quad()
/external/mesa3d/src/gallium/tests/graw/
Dtri.c130 rasterizer.flatshade = FlatShade; in init()
Dtri-large.c133 rasterizer.flatshade = FlatShade; in init()

1234