early-access version 2007
This commit is contained in:
@@ -178,11 +178,13 @@ IR::Program TranslateProgram(ObjectPool<IR::Inst>& inst_pool, ObjectPool<IR::Blo
|
||||
|
||||
Optimization::ConstantPropagationPass(program);
|
||||
Optimization::DeadCodeEliminationPass(program);
|
||||
Optimization::GetAttributeReorderPass(program);
|
||||
Optimization::CollectShaderInfoPass(env, program);
|
||||
if (program.info.uses_demote_to_helper_invocation) {
|
||||
Optimization::GetAttributeReorderPass(program);
|
||||
}
|
||||
if (Settings::values.renderer_debug) {
|
||||
Optimization::VerificationPass(program);
|
||||
}
|
||||
Optimization::CollectShaderInfoPass(env, program);
|
||||
CollectInterpolationInfo(env, program);
|
||||
AddNVNStorageBuffers(program);
|
||||
return program;
|
||||
|
@@ -11,8 +11,9 @@ namespace Shader {
|
||||
|
||||
/// Misc information about the host
|
||||
struct HostTranslateInfo {
|
||||
bool support_float16{}; ///< True when the device supports 16-bit floats
|
||||
bool support_int64{}; ///< True when the device supports 64-bit integers
|
||||
bool support_float16{}; ///< True when the device supports 16-bit floats
|
||||
bool support_int64{}; ///< True when the device supports 64-bit integers
|
||||
bool needs_get_attribute_reorder{}; ///< True when the device needs GetAttribute reordered
|
||||
};
|
||||
|
||||
} // namespace Shader
|
||||
|
Reference in New Issue
Block a user