These will be used by the compiler in a following patch.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22846>
/** Is the drivers uniform storage packed or padded to 16 bytes. */
bool PackedDriverUniformStorage;
+ bool HasFBFetch;
+
+ /** Whether the backend supports reading from outputs */
+ bool SupportsReadingOutputs;
+
+ bool CombinedClipCullDistanceArrays;
+
+ bool PointSizeFixed;
+
/** Wether or not glBitmap uses red textures rather than alpha */
bool BitmapUsesRed;
*/
c->MaxUniformBlockSize &= ~3;
+ c->HasFBFetch = screen->get_param(screen, PIPE_CAP_FBFETCH);
+
+ c->SupportsReadingOutputs = screen->get_param(screen, PIPE_CAP_SHADER_CAN_READ_OUTPUTS);
+
+ c->CombinedClipCullDistanceArrays = !screen->get_param(screen, PIPE_CAP_CULL_DISTANCE_NOCOMBINE);
+
+ c->PointSizeFixed = screen->get_param(screen, PIPE_CAP_POINT_SIZE_FIXED);
+
for (sh = 0; sh < PIPE_SHADER_TYPES; ++sh) {
const gl_shader_stage stage = tgsi_processor_to_shader_stage(sh);
struct gl_shader_compiler_options *options =