/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_flatshade.c | 215 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 …]
|
D | draw_pipe.c | 50 draw->pipeline.flatshade = draw_flatshade_stage( draw ); in draw_pipeline_init() 63 !draw->pipeline.flatshade || in draw_pipeline_init() 96 if (draw->pipeline.flatshade) in draw_pipeline_destroy() 97 draw->pipeline.flatshade->destroy( draw->pipeline.flatshade ); in draw_pipeline_destroy()
|
D | draw_pipe_validate.c | 233 draw->pipeline.flatshade->next = next; in validate_pipeline() 234 next = draw->pipeline.flatshade; in validate_pipeline()
|
D | draw_context.c | 1059 …if (!draw->rasterizer_no_cull[base_rast->scissor][base_rast->flatshade][base_rast->rasterizer_disc… in draw_get_rasterizer_no_cull() 1066 rast.flatshade = base_rast->flatshade; in draw_get_rasterizer_no_cull() 1073 …draw->rasterizer_no_cull[base_rast->scissor][base_rast->flatshade][base_rast->rasterizer_discard] = in draw_get_rasterizer_no_cull() 1076 …return draw->rasterizer_no_cull[base_rast->scissor][base_rast->flatshade][base_rast->rasterizer_di… in draw_get_rasterizer_no_cull()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
D | sglrShaderProgram.cpp | 164 … 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()
|
D | sglrShaderProgram.hpp | 67 …(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
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrShaders.hpp | 60 flatshade = false; in VertexVaryingInfo() 67 flatshade == other.flatshade; in operator ==() 71 bool flatshade; member
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_shader_state.c | 138 if (has_explicit_color && fp->fp.flatshade != rast->flatshade) { in nvc0_fragprog_validate() 143 fp->fp.flatshade = rast->flatshade; in nvc0_fragprog_validate() 149 hwflatshade = rast->flatshade; in nvc0_fragprog_validate() 154 fp->fp.flatshade = 0; in nvc0_fragprog_validate() 157 if (hwflatshade != nvc0->state.flatshade) { in nvc0_fragprog_validate() 158 nvc0->state.flatshade = hwflatshade; in nvc0_fragprog_validate()
|
D | nvc0_program.h | 54 bool flatshade; member
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_program.c | 354 uint32_t vinterp[4], flatshade[2], vpsrepl[4]; in fd3_program_emit() local 357 memset(flatshade, 0, sizeof(flatshade)); in fd3_program_emit() 377 flatshade[loc / 32] |= 1 << (loc % 32); in fd3_program_emit() 433 OUT_RING(ring, flatshade[0]); /* SP_FS_FLAT_SHAD_MODE_REG_0 */ in fd3_program_emit() 434 OUT_RING(ring, flatshade[1]); /* SP_FS_FLAT_SHAD_MODE_REG_1 */ in fd3_program_emit()
|
D | fd3_draw.c | 115 .rasterflat = ctx->rasterizer->flatshade, in fd3_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_draw.c | 93 .rasterflat = ctx->rasterizer->flatshade, in fd4_draw_vbo() 100 .rasterflat = ctx->rasterizer->flatshade, in fd4_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_target.h | 63 force_persample_interp(force), flatshade(flat), alphatest(alphatest), msaa(msaa) {} in FixupData() 65 bool flatshade; member
|
D | nv50_ir_target.cpp | 493 bool force_persample_interp, bool flatshade, in nv50_ir_apply_fixups() argument 503 nv50_ir::FixupData data(force_persample_interp, flatshade, alphatest, msaa); in nv50_ir_apply_fixups()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw.h | 45 boolean flatshade, boolean flatshade_first);
|
D | svga_pipe_rasterizer.c | 169 rast->shademode = svga_translate_flatshade(templ->flatshade); in svga_create_rasterizer_state() 311 (templ->flatshade || in svga_create_rasterizer_state()
|
D | svga_state_fs.c | 350 key->fs.flatshade = svga->curr.rast->templ.flatshade; in make_fs_key()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_rasterizer.c | 50 …cs->PA_CONFIG = (so->flatshade ? VIVS_PA_CONFIG_SHADE_MODEL_FLAT : VIVS_PA_CONFIG_SHADE_MODEL_SMOO… in etna_rasterizer_state_create()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_shader.h | 178 unsigned flatshade; member
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_draw.c | 89 .rasterflat = ctx->rasterizer->flatshade, in fd5_draw_vbo() 95 .rasterflat = ctx->rasterizer->flatshade, in fd5_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_quad_fs.c | 74 machine->flatshade_color = softpipe->rasterizer->flatshade ? TRUE : FALSE; in shade_quad()
|
/third_party/mesa3d/src/gallium/tests/graw/ |
D | tri.c | 130 rasterizer.flatshade = FlatShade; in init()
|
D | tri-large.c | 133 rasterizer.flatshade = FlatShade; in init()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_fs.h | 100 unsigned flatshade:1; member
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_emit.c | 146 if (vc4->rasterizer->base.flatshade) in vc4_emit_state()
|