panfrost: Avoid minimum stack allocations
[mesa.git] / src / panfrost / util / pan_ir.h
index 99a8e5ba70f5371f17e0bd4a3a06843b0e40c1eb..57d8129e7700cb05ff6f8fafb5e10138e8611239 100644 (file)
@@ -25,7 +25,6 @@
 #define __PAN_IR_H
 
 #include <stdint.h>
-#include "panfrost-job.h"
 #include "compiler/nir/nir.h"
 #include "util/u_dynarray.h"
 #include "util/hash_table.h"
@@ -87,7 +86,7 @@ typedef struct {
         int uniform_cutoff;
 
         /* For Bifrost - output type for each RT */
-        nir_alu_type blend_types[BIFROST_MAX_RENDER_TARGET_COUNT];
+        nir_alu_type blend_types[8];
 
         /* Prepended before uniforms, mapping to SYSVAL_ names for the
          * sysval */
@@ -108,9 +107,6 @@ typedef struct {
          * (register spilling), or zero if no spilling is used */
         unsigned tls_size;
 
-        /* IN: For a fragment shader with a lowered alpha test, the ref value */
-        float alpha_ref;
-
         /* IN: Render target formats for output load/store lowering */
         enum pipe_format rt_formats[8];
 } panfrost_program;