mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
glhd: Simple rasterizer checks.
From the documentation.
This commit is contained in:
parent
666fdc01c4
commit
e6ee4e1bdf
1 changed files with 10 additions and 0 deletions
|
|
@ -269,6 +269,16 @@ galahad_create_rasterizer_state(struct pipe_context *_pipe,
|
|||
struct galahad_context *glhd_pipe = galahad_context(_pipe);
|
||||
struct pipe_context *pipe = glhd_pipe->pipe;
|
||||
|
||||
if (rasterizer->point_quad_rasterization) {
|
||||
if (rasterizer->point_smooth) {
|
||||
glhd_warn("Point smoothing requested but ignored");
|
||||
}
|
||||
} else {
|
||||
if (rasterizer->sprite_coord_enable) {
|
||||
glhd_warn("Point sprites requested but ignored");
|
||||
}
|
||||
}
|
||||
|
||||
return pipe->create_rasterizer_state(pipe,
|
||||
rasterizer);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue