mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
gallium: geometry shader can be always enabled and we don't need a cap for that
using the draw module allows us to enable geometry shading even on hardware that doesn't support it.
This commit is contained in:
parent
a00da63e66
commit
519a6d308d
2 changed files with 0 additions and 3 deletions
|
|
@ -89,8 +89,6 @@ softpipe_get_param(struct pipe_screen *screen, int param)
|
||||||
return 13; /* max 4Kx4K */
|
return 13; /* max 4Kx4K */
|
||||||
case PIPE_CAP_TGSI_CONT_SUPPORTED:
|
case PIPE_CAP_TGSI_CONT_SUPPORTED:
|
||||||
return 1;
|
return 1;
|
||||||
case PIPE_CAP_GEOMETRY_SHADER4:
|
|
||||||
return 1;
|
|
||||||
case PIPE_CAP_BLEND_EQUATION_SEPARATE:
|
case PIPE_CAP_BLEND_EQUATION_SEPARATE:
|
||||||
return 1;
|
return 1;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
|
|
@ -398,7 +398,6 @@ enum pipe_transfer_usage {
|
||||||
#define PIPE_CAP_MAX_PREDICATE_REGISTERS 30
|
#define PIPE_CAP_MAX_PREDICATE_REGISTERS 30
|
||||||
#define PIPE_CAP_MAX_COMBINED_SAMPLERS 31 /*< Maximum texture image units accessible from vertex
|
#define PIPE_CAP_MAX_COMBINED_SAMPLERS 31 /*< Maximum texture image units accessible from vertex
|
||||||
and fragment shaders combined */
|
and fragment shaders combined */
|
||||||
#define PIPE_CAP_GEOMETRY_SHADER4 32
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue