Lines Matching refs:raster
435 struct GENX(3DSTATE_RASTER) raster = { in emit_rs_state()
439 # define raster sf in emit_rs_state() macro
446 raster.DXMultisampleRasterizationEnable = true; in emit_rs_state()
447 raster.ForcedSampleCount = FSC_NUMRASTSAMPLES_0; in emit_rs_state()
448 raster.ForceMultisampling = false; in emit_rs_state()
450 raster.MultisampleRasterizationMode = in emit_rs_state()
455 raster.FrontWinding = vk_to_gen_front_face[rs_info->frontFace]; in emit_rs_state()
456 raster.CullMode = vk_to_gen_cullmode[rs_info->cullMode]; in emit_rs_state()
457 raster.FrontFaceFillMode = vk_to_gen_fillmode[rs_info->polygonMode]; in emit_rs_state()
458 raster.BackFaceFillMode = vk_to_gen_fillmode[rs_info->polygonMode]; in emit_rs_state()
459 raster.ScissorRectangleEnable = true; in emit_rs_state()
463 raster.ViewportZFarClipTestEnable = !pipeline->depth_clamp_enable; in emit_rs_state()
464 raster.ViewportZNearClipTestEnable = !pipeline->depth_clamp_enable; in emit_rs_state()
466 raster.ViewportZClipTestEnable = !pipeline->depth_clamp_enable; in emit_rs_state()
469 raster.GlobalDepthOffsetEnableSolid = rs_info->depthBiasEnable; in emit_rs_state()
470 raster.GlobalDepthOffsetEnableWireframe = rs_info->depthBiasEnable; in emit_rs_state()
471 raster.GlobalDepthOffsetEnablePoint = rs_info->depthBiasEnable; in emit_rs_state()
494 GENX(3DSTATE_RASTER_pack)(NULL, pipeline->gen8.raster, &raster); in emit_rs_state()
496 # undef raster in emit_rs_state()