srp
software rendering pipeline
Loading...
Searching...
No Matches
line.c File Reference
#include <math.h>
#include <stdlib.h>
#include "raster/line.h"
#include "raster/fragment.h"
#include "pipeline/interpolation.h"
#include "pipeline/vertex_processing.h"
#include "srp/context.h"
#include "utils/voidptr.h"
#include "utils/message_callback_p.h"
Include dependency graph for line.c:

Functions

static void lineInterpolateData (SRPLine *line, float t, const SRPShaderProgram *restrict sp, SRPInterpolated *pInterpolatedBuffer, float *depth, float *recIntInvW)
 
void rasterizeLine (SRPLine *line, const SRPFramebuffer *fb, const SRPShaderProgram *restrict sp, void *interpolatedBuffer)
 
void setupLine (SRPLine *line, const SRPFramebuffer *fb)
 

Detailed Description

Line rasterization implementation