{
SVGA3D_CREATE_CMD_COUNT(SetViewports, SET_VIEWPORTS, SVGA3dViewport);
+ cmd->pad0 = 0;
memcpy(cmd + 1, viewports, count * sizeof(SVGA3dViewport));
swc->commit(swc);
if (!cmd)
return PIPE_ERROR_OUT_OF_MEMORY;
+ cmd->pad0 = 0;
memcpy(cmd + 1, rects, count * sizeof(SVGASignedRect));
swc->commit(swc);
{
SVGA3D_CREATE_COMMAND(DrawAuto, DRAW_AUTO);
+ cmd->pad0 = 0;
swc->hints |= SVGA_HINT_FLAG_CAN_PRE_FLUSH;
swc->commit(swc);
swc->num_draw_commands++;
cmd->mipSlice = desc->tex.mipSlice;
cmd->firstArraySlice = desc->tex.firstArraySlice;
cmd->arraySize = desc->tex.arraySize;
+ cmd->flags = 0;
+ cmd->pad0 = 0;
+ cmd->pad1 = 0;
surface_to_resourceid(swc, surface,
&cmd->sid,
SVGA3D_COPY_BASIC_5(maxAnisotropy, comparisonFunc,
borderColor, minLOD,
maxLOD);
+ cmd->pad0 = 0;
+ cmd->pad1 = 0;
swc->commit(swc);
return PIPE_OK;
sizeof(SVGA3dStreamOutputDeclarationEntry)
* SVGA3D_MAX_STREAMOUT_DECLS);
+ cmd->rasterizedStream = 0;
swc->commit(swc);
return PIPE_OK;
}