Lines Matching refs:raster
456 struct GENX(3DSTATE_RASTER) raster = { in emit_rs_state()
460 # define raster sf in emit_rs_state() macro
467 raster.DXMultisampleRasterizationEnable = true; in emit_rs_state()
472 raster.ForcedSampleCount = FSC_NUMRASTSAMPLES_0; in emit_rs_state()
473 raster.ForceMultisampling = false; in emit_rs_state()
475 raster.MultisampleRasterizationMode = in emit_rs_state()
480 raster.FrontWinding = vk_to_gen_front_face[rs_info->frontFace]; in emit_rs_state()
481 raster.CullMode = vk_to_gen_cullmode[rs_info->cullMode]; in emit_rs_state()
482 raster.FrontFaceFillMode = vk_to_gen_fillmode[rs_info->polygonMode]; in emit_rs_state()
483 raster.BackFaceFillMode = vk_to_gen_fillmode[rs_info->polygonMode]; in emit_rs_state()
484 raster.ScissorRectangleEnable = true; in emit_rs_state()
488 raster.ViewportZFarClipTestEnable = !pipeline->depth_clamp_enable; in emit_rs_state()
489 raster.ViewportZNearClipTestEnable = !pipeline->depth_clamp_enable; in emit_rs_state()
491 raster.ViewportZClipTestEnable = !pipeline->depth_clamp_enable; in emit_rs_state()
494 raster.GlobalDepthOffsetEnableSolid = rs_info->depthBiasEnable; in emit_rs_state()
495 raster.GlobalDepthOffsetEnableWireframe = rs_info->depthBiasEnable; in emit_rs_state()
496 raster.GlobalDepthOffsetEnablePoint = rs_info->depthBiasEnable; in emit_rs_state()
519 GENX(3DSTATE_RASTER_pack)(NULL, pipeline->gen8.raster, &raster); in emit_rs_state()
521 # undef raster in emit_rs_state()