intel/compiler: add new field for storing program size
This will be used by the on disk shader cache. v2: * Set in brw_compile_* rather than brw_codegen_*. (Jason) Signed-off-by: Timothy Arceri <timothy.arceri@collabora.com> [jordan.l.justen@intel.com: Only add to brw_stage_prog_data] Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:

committed by
Jordan Justen

parent
1edf0fe612
commit
540636045f
@@ -587,6 +587,8 @@ struct brw_stage_prog_data {
|
||||
unsigned total_scratch;
|
||||
unsigned total_shared;
|
||||
|
||||
unsigned program_size;
|
||||
|
||||
/**
|
||||
* Register where the thread expects to find input data from the URB
|
||||
* (typically uniforms, followed by vertex or fragment attributes).
|
||||
|
Reference in New Issue
Block a user