Home
last modified time | relevance | path

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

1234

/third_party/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()
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()
Ddraw_pipe_validate.c233 draw->pipeline.flatshade->next = next; in validate_pipeline()
234 next = draw->pipeline.flatshade; in validate_pipeline()
Ddraw_context.c1059 …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/
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()
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
/third_party/vk-gl-cts/framework/referencerenderer/
DrrShaders.hpp60 flatshade = false; in VertexVaryingInfo()
67 flatshade == other.flatshade; in operator ==()
71 bool flatshade; member
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_shader_state.c138 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()
Dnvc0_program.h54 bool flatshade; member
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_program.c354 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()
Dfd3_draw.c115 .rasterflat = ctx->rasterizer->flatshade, in fd3_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_draw.c93 .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/
Dnv50_ir_target.h63 force_persample_interp(force), flatshade(flat), alphatest(alphatest), msaa(msaa) {} in FixupData()
65 bool flatshade; member
Dnv50_ir_target.cpp493 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/
Dsvga_draw.h45 boolean flatshade, boolean flatshade_first);
Dsvga_pipe_rasterizer.c169 rast->shademode = svga_translate_flatshade(templ->flatshade); in svga_create_rasterizer_state()
311 (templ->flatshade || in svga_create_rasterizer_state()
Dsvga_state_fs.c350 key->fs.flatshade = svga->curr.rast->templ.flatshade; in make_fs_key()
/third_party/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()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.h178 unsigned flatshade; member
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_draw.c89 .rasterflat = ctx->rasterizer->flatshade, in fd5_draw_vbo()
95 .rasterflat = ctx->rasterizer->flatshade, in fd5_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_fs.c74 machine->flatshade_color = softpipe->rasterizer->flatshade ? TRUE : FALSE; in shade_quad()
/third_party/mesa3d/src/gallium/tests/graw/
Dtri.c130 rasterizer.flatshade = FlatShade; in init()
Dtri-large.c133 rasterizer.flatshade = FlatShade; in init()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.h100 unsigned flatshade:1; member
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_emit.c146 if (vc4->rasterizer->base.flatshade) in vc4_emit_state()

1234