Title: [245233] trunk/Source/WebCore
Revision
245233
Author
[email protected]
Date
2019-05-13 06:59:59 -0700 (Mon, 13 May 2019)

Log Message

WHLSLPrepare.cpp always recompiles, even if nothing was changed
https://bugs.webkit.org/show_bug.cgi?id=197151

Reviewed by Dan Bernstein and Keith Rollin.

* DerivedSources-input.xcfilelist: Script updated this automatically after
DerivedSources.make was corrected.
* DerivedSources-output.xcfilelist: Ditto, although I had to manually remove
one bogus leftover reference to WHLSLStandardLibrary.cpp.

* DerivedSources.make: Updated the rule that builds WHSLStandardLibrary.h to
no longer refer to nonexistent WHLSLStandardLibrary.cpp. Because the dependency
was on a file that was never created, the rule to regenerate WHSLStandardLibrary.h
was running on every build, instead of only when one of the dependencies changed.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (245232 => 245233)


--- trunk/Source/WebCore/ChangeLog	2019-05-13 06:51:25 UTC (rev 245232)
+++ trunk/Source/WebCore/ChangeLog	2019-05-13 13:59:59 UTC (rev 245233)
@@ -1,3 +1,20 @@
+2019-05-13  Darin Adler  <[email protected]>
+
+        WHLSLPrepare.cpp always recompiles, even if nothing was changed
+        https://bugs.webkit.org/show_bug.cgi?id=197151
+
+        Reviewed by Dan Bernstein and Keith Rollin.
+
+        * DerivedSources-input.xcfilelist: Script updated this automatically after
+        DerivedSources.make was corrected.
+        * DerivedSources-output.xcfilelist: Ditto, although I had to manually remove
+        one bogus leftover reference to WHLSLStandardLibrary.cpp.
+
+        * DerivedSources.make: Updated the rule that builds WHSLStandardLibrary.h to
+        no longer refer to nonexistent WHLSLStandardLibrary.cpp. Because the dependency
+        was on a file that was never created, the rule to regenerate WHSLStandardLibrary.h
+        was running on every build, instead of only when one of the dependencies changed.
+
 2019-05-12  Simon Fraser  <[email protected]>
 
         When the set of backing-sharing layers changes, we need to issue a repaint

Modified: trunk/Source/WebCore/DerivedSources-input.xcfilelist (245232 => 245233)


--- trunk/Source/WebCore/DerivedSources-input.xcfilelist	2019-05-13 06:51:25 UTC (rev 245232)
+++ trunk/Source/WebCore/DerivedSources-input.xcfilelist	2019-05-13 13:59:59 UTC (rev 245233)
@@ -15,6 +15,7 @@
 $(_javascript_CORE_PRIVATE_HEADERS_DIR)/lazywriter.py
 $(_javascript_CORE_PRIVATE_HEADERS_DIR)/make-js-file-arrays.py
 $(_javascript_CORE_PRIVATE_HEADERS_DIR)/wkbuiltins.py
+$(_javascript_CORE_PRIVATE_HEADERS_DIR)/xxd.pl
 $(PROJECT_DIR)/Configurations/FeatureDefines.xcconfig
 $(PROJECT_DIR)/DerivedSources.make
 $(PROJECT_DIR)/Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl
@@ -342,6 +343,7 @@
 $(PROJECT_DIR)/Modules/webgpu/GPUVertexAttributeDescriptor.idl
 $(PROJECT_DIR)/Modules/webgpu/GPUVertexInputDescriptor.idl
 $(PROJECT_DIR)/Modules/webgpu/NavigatorGPU.idl
+$(PROJECT_DIR)/Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt
 $(PROJECT_DIR)/Modules/webgpu/WebGPU.idl
 $(PROJECT_DIR)/Modules/webgpu/WebGPUAdapter.idl
 $(PROJECT_DIR)/Modules/webgpu/WebGPUBindGroup.idl

Modified: trunk/Source/WebCore/DerivedSources-output.xcfilelist (245232 => 245233)


--- trunk/Source/WebCore/DerivedSources-output.xcfilelist	2019-05-13 06:51:25 UTC (rev 245232)
+++ trunk/Source/WebCore/DerivedSources-output.xcfilelist	2019-05-13 13:59:59 UTC (rev 245233)
@@ -2088,7 +2088,7 @@
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/UserAgentScripts.h
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/UserAgentScriptsData.cpp
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/UserAgentStyleSheets.h
-$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WHLSLStandardLibrary.cpp
+$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WHLSLStandardLibrary.h
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebCoreJSBuiltinInternals.cpp
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebCoreJSBuiltinInternals.h
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebCoreJSBuiltins.cpp

Modified: trunk/Source/WebCore/DerivedSources.make (245232 => 245233)


--- trunk/Source/WebCore/DerivedSources.make	2019-05-13 06:51:25 UTC (rev 245232)
+++ trunk/Source/WebCore/DerivedSources.make	2019-05-13 13:59:59 UTC (rev 245233)
@@ -1634,10 +1634,10 @@
 
 # WHLSL Standard Library
 
-all : WHLSLStandardLibrary.cpp
+all : WHLSLStandardLibrary.h
 
-WHLSLStandardLibrary.cpp : $(_javascript_Core_SCRIPTS_DIR)/xxd.pl $(WebCore)/Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt
-	$(PERL) $(_javascript_Core_SCRIPTS_DIR)/xxd.pl WHLSLStandardLibrary $(WebCore)/Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt WHLSLStandardLibrary.h
+WHLSLStandardLibrary.h : $(_javascript_Core_SCRIPTS_DIR)/xxd.pl $(WebCore)/Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt
+	$(PERL) $< WHLSLStandardLibrary $(WebCore)/Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt $@
 
 # --------
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to